Free Base64 Encode and Decode
Encode text to Base64 or decode Base64 back to text, with UTF-8 support for accents and emoji, and a URL-safe option. Decoding a file? FileConvertora recognizes images, PDFs and more and lets you download them.
Runs on your device
What to do next
How to use Base64 Encode and Decode
- 1
Choose Encode or Decode.
- 2
Type or paste your text.
- 3
Copy the result.
Base64 Encode and Decode converts text to Base64 and back. Base64 writes any data using only letters, digits, + and /, so it can travel inside JSON, URLs, HTTP headers, email and config files. Accents and emoji are kept by encoding as UTF-8 first.
Switch to URL-safe Base64 for links and tokens.
Not encryption
Anyone can decode Base64; it only changes how data is written. Never use it to hide passwords or secrets.
URL-safe Base64
Standard Base64 uses + and /, which have special meanings in URLs. The URL-safe variant uses - and _ and drops the = padding, as JWT tokens do.
- Embed small images or files in HTML, CSS or JSON.
- Encode data for APIs and email headers.
- The file is opened and processed by your browser on your own device. It is never uploaded, so no server, including ours, ever receives a copy.
- Encoding happens in your browser.
- Accented letters break
- Text is encoded as UTF-8 first, which handles every language.
Questions
What is Base64?
A way to write any data, even images, using only letters, digits, + and /, so it can go inside text such as JSON, HTML or email. It makes data about a third larger.
Is Base64 encryption?
No. Anyone can decode it. Don’t use it to hide passwords.
Is my data uploaded?
No. Everything is converted in your browser, so private config files and data stay on your device.
What else can I encode?
Image to Base64 turns pictures into data URLs for HTML and CSS, and Hash Generator gives MD5 and SHA-256 hashes of text.
Something not working, or a question that isn’t here? Tell us about it
Related tools
More file tools
See all 28- Unzip FilesNewOpen ZIP files and save what’s inside
- Compare TextNewFind the differences between two texts
- QR Code GeneratorNewLinks, Wi-Fi, contacts and more
- Wi-Fi QR CodeNewA sign guests scan to connect
- JSON to YAMLNewConvert JSON data to YAML
- YAML to JSONNewConvert YAML data to JSON
- JSON to XMLConvert JSON data to XML
- XML to JSONConvert XML data to JSON