Base64 Encoder / Decoder
Encode text or files to Base64, or decode Base64 back to text or a file. Handles UTF-8, URL-safe Base64 and data URLs.
How it works
- 1Choose Encode or Decode.
- 2Paste your text, or choose a file to encode.
- 3Copy the result, or download decoded files.
Private by design
This tool runs entirely in your browser. Your files and text are never uploaded to a server. It keeps working even if you go offline after the page loads.
Questions
- What is Base64 for?
- It turns any data into plain letters, digits and a few symbols, so it can travel in text-only places such as JSON, email or data URLs.
- Is there a file size limit?
- Files up to 10 MB. Everything is done in your browser, so nothing is uploaded.
- What is URL-safe Base64?
- A variant that uses - and _ instead of + and /, so the result can go in a URL or file name without escaping.