Free Base64 Encoder and Decoder Online
Encode and decode Base64 text instantly with our free online Base64 converter.
Encode and decode Base64 in your browser
Convert text to Base64 or Base64 back to text with full UTF-8 support, so accents, Arabic, Hindi, Chinese, Japanese and emoji all work. You can also turn any file into Base64, or decode Base64 back into a downloadable file such as an image or PDF.
Everything happens on your device. Nothing is uploaded, stored or sent to a server, which makes it safe for tokens, configuration snippets and private files. Invalid Base64 is detected and the position of the first bad character is shown.
How to use the Base64 Encoder / Decoder
- 1
Paste text or Base64 into the left panel, or choose a file.
- 2
Press Encode to get Base64, or Decode to turn Base64 back into text or a file.
- 3
Copy the result, download it as a TXT file, or swap the panels to continue.
Features
- Text to Base64 and Base64 to text.
- Correct UTF-8 and Unicode handling for every language.
- Convert files to Base64 and Base64 to downloadable files.
- URL-safe Base64, optional line wrapping and data URL output.
- Copy, clear, swap and download as TXT.
- Runs locally in your browser: no upload, no sign-up.
Frequently asked questions
What is Base64 used for?
Base64 writes binary data using only letters, digits and a few symbols, so it can travel safely in text such as JSON, email, HTML and URLs.
Is Base64 encryption?
No. Anyone can decode Base64, so it does not protect secrets. Use encryption when you need confidentiality.
Does it handle non-English text?
Yes. Text is converted with UTF-8, so Arabic, Hindi, Chinese, Japanese, accents and emoji encode and decode correctly.
What file size can I convert?
Files up to 15 MB and Base64 text up to about 20 MB. Everything is processed locally, so very large inputs depend on your device's memory.