Matching Sox ConverterPART OF MATCHING SOX TOOLS
100% free tools
TEXT · CONVERT ON YOUR DEVICE

Base64 encoder and decoder

Encode text to Base64 or decode it back, with full UTF-8 support.

Free forever. No signup. No watermark. Files never leave your device.

♧   Files stay on your device

About Base64 encode / decode conversion

Base64 represents arbitrary bytes using only 64 safe ASCII characters, which lets binary or non-English text travel through systems that expect plain text. Developers meet it constantly: HTTP Basic authentication headers, JSON Web Token segments, data URIs, email attachments in MIME, environment variables, and configuration files all lean on it.

This tool is UTF-8 safe. Before encoding, text is converted to UTF-8 bytes, so accented letters, non-Latin scripts, and emoji round-trip correctly instead of throwing the "character out of range" error that a naive browser call produces. Decoding reverses the process and trims surrounding whitespace, so a value copied with a stray newline still works. If the input is not valid Base64, or decodes to bytes that are not valid UTF-8 text, you get a clear error rather than garbage.

A word of caution: Base64 is an encoding, not encryption. Anyone can decode it instantly. Because the conversion runs entirely in your browser, though, you can safely inspect tokens or credentials without pasting them into a server-side website. The tool works on text, not on binary files such as images.

How to do it

  1. Click the button above to open the Text tool with the Base64 buttons highlighted.
  2. Paste plain text to encode, or a Base64 string to decode.
  3. Press Base64 encode or Base64 decode.
  4. Check the status line — an error means the input was not valid Base64 text.
  5. Copy the output or download it as a text file.

Base64 encode / decode FAQ

Is Base64 a form of encryption?

No. It is a reversible encoding that anyone can decode. Never rely on it to hide secrets.

Does it handle emoji and accented characters?

Yes. Text is encoded as UTF-8 first, so any Unicode character round-trips correctly.

Why did decoding fail?

The input contains characters outside the Base64 alphabet, or the decoded bytes are not valid UTF-8 text, such as binary file data.

Can I encode an image file to Base64?

No. This tool works on text you paste, not on uploaded files.

THE MATCHING SOX FAMILY

One helpful wolf. More free tools.

Same simple promise in every tool: no required account, minimal data, and local processing whenever practical.

Yard Socket™ keeps your favorite yard accessories right where you want them. Anchor once. Swap forever.

Matching Sox Converter — Less fuss. More finished.
A project by Yard Socket LLC