Simple text
Encode a short value for a test request.
- Input: Hello, World!
Output: SGVsbG8sIFdvcmxkIQ==
Padding appears because the byte count does not divide evenly into 3-byte groups.
Convert between strings and Base64 encoding, supports text input and file processing
Base64 is an encoding method based on 64 printable characters to represent binary data. It converts every 3 bytes to 4 Base64 characters, commonly used for transmitting binary data in text protocols.
Base64 is widely used in email attachments, URL parameters, data URIs, small file storage and other scenarios. It ensures data is not corrupted or misinterpreted during transmission.
Base64 encoding increases data size by approximately 33% (every 3 bytes becomes 4 characters). It only contains A-Z, a-z, 0-9, +, /, = these 64 characters, ensuring safe transmission in most systems.
Base64 is not an encryption algorithm, it's just an encoding method. Encoded data can be decoded by anyone. Don't use Base64 to protect sensitive information, use real encryption algorithms instead.
Input bytes -> 24-bit groups
24-bit group -> four 6-bit values
Each 6-bit value maps to one Base64 character
Padding "=" is added when the final group has fewer than 24 bitsEncode a short value for a test request.
Output: SGVsbG8sIFdvcmxkIQ==
Padding appears because the byte count does not divide evenly into 3-byte groups.
Inspect a Base64-encoded configuration blob.
Decoded output should be valid JSON text.
Decode before editing, then re-encode after validating the JSON.
Encode non-ASCII characters safely.
Output depends on UTF-8 bytes, not character count.
Always confirm the expected text encoding when systems disagree.