Base64 Encode / Decode
Convert any text to Base64, or decode Base64 back to readable text. Full unicode support.
More options
How to use Base64 Encode / Decode
- Pick Encode or Decode.
- Paste your text or Base64 string.
- Copy the result.
What is Base64 Encode / Decode?
Base64 is a way to encode arbitrary bytes as plain ASCII text. It's used everywhere — embedding images in CSS, transmitting binary over JSON, encoding JWT tokens. This tool encodes text to Base64 and decodes Base64 to text, handling unicode correctly via UTF-8.
FAQ
- Does this handle non-ASCII text?
- Yes — strings are converted to UTF-8 bytes before encoding, and decoded as UTF-8.
- Why do I see padding characters (=)?
- Base64 output is padded with '=' so its length is a multiple of 4. This is standard.
Related tools
People also use
- Image to Base64🖼️ Image Tools
Image to Base64 — Encode an image as a Base64 data URI — paste it into CSS, HTML, or JSON. Optional CSS <code>url(...)</code> wrapper.
- Base64 Inspector🗄️ Developer Tools
Base64 Inspector — Analyze and validate Base64 content. Inspect MIME headers, calculate overhead size, preview file assets, and download decoded binary ...
- Binary ↔ Text Converter🔐 Encoding & Decoding
Binary ↔ Text Converter — Convert any text into binary (UTF-8 encoded), or decode binary back to text. Runs entirely client-side inside your browser.