Free developer & data tool

Base64 Encoder & Decoder

Encode UTF-8 text as Base64 or decode Base64 into UTF-8 text.

This tool processes input locally in your browser without a tool API upload. This describes tool processing, not a site-wide logging guarantee. Avoid pasting live secrets.

Output

Supported behavior

  • Encode UTF-8 text as Base64 or decode Base64 into UTF-8 text.
  • This is a text tool, not a binary file decoder. Invalid Base64 or invalid UTF-8 bytes produce an error. URL-safe decoding normalizes the alphabet and restores padding. Base64 is reversible and provides no secrecy. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.

How to use the Base64 Encoder & Decoder

  1. Select Encode or Decode; enable URL-safe mode for - and _ substitutions and omitted encoding padding.
  2. Review the result or error before copying. Shared output panels offer Copy; there is no file upload or download workflow.
  3. Tool input is processed locally without a tool API request. This does not establish site-wide analytics or logging policy.

Examples

Worked behavior

Hello becomes SGVsbG8=; Café and emoji round-trip through UTF-8.

Limits and common mistakes

This is a text tool, not a binary file decoder. Invalid Base64 or invalid UTF-8 bytes produce an error. URL-safe decoding normalizes the alphabet and restores padding. Base64 is reversible and provides no secrecy. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.

Frequently asked questions

Can I decode arbitrary binary?

No. Bytes that are not valid UTF-8 are rejected instead of being silently replaced.

Sources & methodology

Related tools

More developer & data tools