Base64 Encode/Decode

Encode text to Base64 or decode Base64 back to text.

How to use Base64 Encode/Decode

  1. Add or paste your input above.
  2. Click the action button to run Base64 Encode/Decode.
  3. Copy or download your result.

About Base64 encoding and decoding

Base64 encoding turns text or binary data into a plain-ASCII string that can travel safely through systems built only for text, such as email and JSON. This tool encodes and decodes Base64 instantly, both directions, in your browser.

Tips

  • Base64 is encoding, not encryption — anyone can decode it.
  • Encoded data is about a third larger than the original.
  • Use it to embed small files in HTML, CSS or JSON.

Base64 Encode/Decode — frequently asked questions

Is Base64 a form of encryption?
No. Base64 only re-encodes data into text and is fully reversible by anyone. Never use it to protect secrets.
Why is my Base64 string longer than the original?
Base64 represents every three bytes as four characters, so the output is roughly 33% larger than the input.
Is Base64 Encode/Decode free to use?
Yes. Base64 Encode/Decode is completely free with no sign-up, no watermarks and no usage limits.
Is my data uploaded to a server?
No. Base64 Encode/Decode runs entirely in your browser, so your data never leaves your device.
Is there a size limit?
Only your device's available memory — there are no server-side limits because nothing is uploaded.

Related tools