— Encoders & generators

Base64 Encode / Decode

Convert text to and from Base64 — UTF-8 safe, with an optional URL-safe variant and instant copy, all in your browser.

— What it does

Base64 Encode / Decode is a free tool that converts text to Base64 and back. It is UTF-8 safe, so emoji and accented characters round-trip correctly, and it supports the URL-safe variant used in tokens and query strings. Paste your input, pick encode or decode, and copy the result — everything runs locally in your browser.

  • UTF-8 safe encoding and decoding, so non-ASCII characters survive the round trip.
  • Optional URL-safe Base64 (− and _ instead of + and /, padding stripped).
  • Live conversion with one-click copy and a clear error on invalid Base64.
  • Runs entirely in your browser — nothing you enter is ever uploaded.

How to use it

1

Choose a mode

Switch between Encode and Decode at the top of the tool.

2

Paste your input

Enter plain text to encode, or a Base64 string to decode, into the input box.

3

Copy the result

The output updates as you type. Toggle URL-safe if you need the token-friendly variant, then copy it.

Frequently asked

Is my input uploaded anywhere?
No. Encoding and decoding run entirely in your browser with JavaScript. Nothing you type is sent to a server or stored, so it is safe for tokens and private data.
Does it handle emoji and accented characters?
Yes. The tool is UTF-8 safe: it encodes text through TextEncoder before Base64 and decodes back through TextDecoder, so emoji, accents, and other non-ASCII characters round-trip correctly.
What is URL-safe Base64?
URL-safe Base64 replaces + with − and / with _ and removes = padding, so the result can be used in URLs, filenames, and JWTs without escaping. Toggle it on to produce or read that variant.
Why do I get an error when decoding?
A decode error means the input is not valid Base64 — for example it has stray spaces, illegal characters, or the wrong length. Fix or re-paste the string and the error clears.
— Built by saavos

These tools are free. So is the first version of your agent.

saavos is the AI agent that lives on your website — themed to match your design, answering visitors from your own content, and telling you what they actually want to know. Paste your URL and see it answer, before you install anything.

Make my site feel alive