Dragon & Alloy AI
Free tools

Base64 encode and decode any text

Paste text to turn it into Base64, or paste Base64 to read the text inside it. Accents, emoji and other UTF-8 characters are handled.

Use this tool

Free, no sign-up. Runs right in your browser.

Base64 Text Converter

Base64 is encoding, not encryption. Decoding requires valid UTF-8 and standard padded Base64, not Base64URL or arbitrary binary files.

How to encode or decode Base64

Paste your text into the input box, set Direction to Encode or Decode, and press Convert. The result appears on the right, where you can copy it or download it as a .txt file.

To decode, paste standard Base64, including any = padding at the end. Spaces and line breaks are ignored, so Base64 that has been wrapped across several lines still works. Base64URL, the version that uses - and _, is not accepted.

The decoded result has to be readable UTF-8 text. Base64 made from an image, a PDF or another binary file will show an error instead of a result.

Base64 converter questions

Is my text uploaded or saved?

No. Encoding and decoding happen in your browser, and your text is not sent to our server or stored. The site host only sees normal page requests. See the privacy notice for details.

Is it free? Do I need an account?

Yes, it is free, and no account is needed. Converting, copying and downloading are all free.

Why won’t my Base64 decode?

Usually it is Base64URL, it is missing its = padding, or it holds an image or other binary file. This tool only decodes standard padded Base64 that contains UTF-8 text.

Is Base64 a form of encryption?

No. Base64 only changes how data is written, and anyone can decode it. Don’t use it to protect passwords or private information.

How much text can I convert?

Up to 1,000,000 characters at a time.

Updated · Built and maintained by Dragon & Alloy AI