Base64 Encoder / Decoder

Encode any text to Base64 or decode Base64 back to plain text, with support for UTF-8 characters. Useful for data URLs, tokens and simple obfuscation.

Privacy: your input is processed entirely in your browser and is never sent to our servers.

How to Use Base64 Encoder / Decoder

  1. 1Choose encode or decode mode.
  2. 2Paste your text or Base64 string into the input.
  3. 3Press the button to convert and copy the result.

What This Tool Does

Base64 encodes binary or text data into a safe ASCII string made only of letters, digits and a few symbols, which is useful for embedding images in CSS, passing data in data URLs, inspecting tokens and carrying binary content through systems that only accept text. This tool uses the browser's UTF-8-safe encoding, so international characters, emoji and accented letters are handled correctly in both directions. It is not encryption: Base64 is trivially reversible by anyone, so never use it to protect sensitive data. Use it to inspect a data URL, decode a token to see its structure, or encode a small payload for embedding. A clear error is shown if you try to decode a string that is not valid Base64.

Examples

Inspecting a data URL

Decode the Base64 portion of a data URL to see the underlying text or confirm what an embedded payload contains.

Encoding a payload

Encode a UTF-8 string containing accented characters into Base64 to embed safely in a configuration value that accepts only ASCII.

Helpful Tips

  • Base64 is not encryption; it is easily reversed.
  • Use decode mode to inspect data URLs and simple tokens.
  • UTF-8 support means emoji and accented characters round-trip correctly.

Frequently Asked Questions

Is Base64 secure?

No. It is an encoding, not encryption, and is trivially reversible.

Does it support Unicode?

Yes, UTF-8 text is encoded and decoded correctly.

What happens with invalid Base64?

A clear error is shown if the input cannot be decoded.

Related Guides

Related Tools