Tool location: /dev/base64
Convert text to Base64 encoding or decode Base64 strings back to plain text. Base64 is commonly used to encode binary data for transmission over text-based protocols like email or embedding data in URLs and JSON.
Select whether you want to Encode (text to Base64) or Decode (Base64 to text).
For encoding, paste plain text. For decoding, paste a Base64 string. The tool accepts any text including special characters and Unicode.
The converted output appears instantly. For encoding, you get a Base64 string. For decoding, you get the original plain text.
Click the copy button to copy the result to your clipboard for use in your code or applications.
Real-time encoding and decoding as you type.
Properly handles international characters and special symbols.
Generate URL-safe Base64 strings when needed.
Process large amounts of text without issues.
Base64 is NOT encryption. Do not use it to protect sensitive data.
Invalid Base64 strings will produce decoding errors or garbage output.
Be aware that Base64 output is always larger than the original input.
A: Base64 is used to encode binary data as ASCII text. Common uses include: embedding images in HTML/CSS, encoding email attachments, storing binary data in JSON/XML, and transmitting data through text-only protocols.
A: If decoding produces garbage characters, the original data might have been binary (like an image) rather than text. Base64 decoding binary data will not produce readable text.
A: No, Base64 is encoding, not encryption. Anyone can decode Base64 strings. Never use Base64 alone to protect sensitive information.
A: Standard Base64 uses A-Z, a-z, 0-9, +, and /. The = character is used for padding. URL-safe Base64 uses - and _ instead of + and /.