Skip to content
Labs

Developer

Base64 Encoder / Decoder

Convert text or a file to Base64, and decode Base64 back to text or a download. UTF-8 is used for text, including characters outside Latin-1.

Loading tool…

This runs entirely in your browser. Nothing you type is sent to a server.

How to use the Base64 tool

  1. 1Choose text or file.
  2. 2Encode to standard Base64, or turn on URL-safe output if you need it in a query string.
  3. 3Decode by pasting Base64. A file decode downloads the bytes; a text decode shows UTF-8.

Questions

Why do some characters fail in other Base64 tools?

A common shortcut encodes only Latin-1. This tool encodes text as UTF-8 first, so Sinhala, Tamil and emoji round-trip correctly.

What does URL-safe change?

Plus and slash become minus and underscore, and padding equals signs are removed. Decoding accepts both forms.

Related tools