Base64 Encoder / Decoder

Encode text into Base64 or decode Base64 back into readable UTF-8 text.

Input text

Output Base64

Using This Tool: Guide & Notes Show guide

Base64 encodes bytes as printable text. It is common in web APIs, email, data URIs, certificates, and developer tools.

How to use it

  • Choose Encode to turn text into Base64, or Decode to turn Base64 back into UTF-8 text.
  • Paste input into the input box and check the output.
  • Use Load example to confirm the expected padding and alphabet style.
  • Copy either side when the result is ready.

Options and settings

  • URL-safe alphabet replaces + and / with characters safer for URLs and filenames.
  • Omit padding removes trailing = characters when a system expects unpadded Base64.
  • Ignore whitespace when decoding accepts wrapped or spaced Base64 input.
  • Wrap encoded output breaks long Base64 strings into fixed-width lines.

Notes

  • Base64 is encoding, not encryption. Anyone can decode it.
  • Decoded bytes must be valid UTF-8 if you want readable text output.
Related Article

Base64: The Encoding That Smuggles Binary Through Text

How a simple 6-bit alphabet became one of the quiet workhorses of email, the web, APIs, certificates, tokens, and modern software plumbing.

Read the article
Signal acquired

A note from the team

We build these tools because we love cryptography, encoding, and making difficult ideas easier to explore. If they've helped you, even a small coffee means the world to the project. Thank you!

Say thanks on Ko-fi