Base64 encoder & decoder.

Encode text or files to Base64 and decode Base64 back, with URL-safe and no-padding options.

Using the Base64 encoder and decoder

Paste text to Base64-encode it, or paste Base64 to decode it back. Tick Encode a file to Base64 to turn a file into Base64, and every decode offers a Download of the raw bytes. Everything runs in your browser – nothing you paste is uploaded or stored, so it is safe for tokens, keys and private data.

What is Base64?

Base64 represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is used to carry files or raw bytes through systems that only handle text, such as email attachments, data: URIs and JSON payloads. It makes data roughly a third larger and is not encryption – anyone can decode it.

What is the URL-safe alphabet?

Standard Base64 uses + and /, which have special meaning in URLs. The URL-safe variant swaps them for - and _ and usually drops the = padding, so the result can sit in a query string or path without further escaping. Turn on both “URL-safe alphabet” and “Omit padding” in the settings to produce it.

Can I Base64-encode a file?

Yes. Tick “Encode a file to Base64” and drop a file in to get its Base64 representation. Going the other way, every decode shows a Download button that saves the raw decoded bytes. Everything runs locally – the file never leaves your device.

What else can this tool do?

The same converter also handles url, html entities, jwt, hex, binary, morse code and rot13 / caesar cipher. Pick a format from the menu without leaving the page.

Is any of this encryption?

No. Encoding changes how data is represented so it can travel safely through a channel; it does not protect it. Anyone can reverse Base64, percent-encoding, hex or ROT13. For a one-way fingerprint use the hash generator; to check JSON you have decoded, use the JSON formatter.

No tools match your search.