Developer Tools

Base64 Encoder / Decoder

Encode or decode Base64 — text and files.

About this tool

Base64 is everywhere — JWT tokens, email attachments, data URIs, basic auth headers. This tool encodes any text or file to Base64 and decodes it back.

How to use

  1. Paste text or drop a file.
  2. Click Encode or Decode.
  3. Copy or download the result.

Benefits

  • Text and file mode
  • URL-safe variant
  • Browser-only

Real-world use cases

  • Embedding images in CSS as data URIs
  • Inspecting JWT tokens
  • Encoding binary files for transport

Tips & best practices

  • Use URL-safe Base64 for query strings
  • Don't use Base64 for encryption — it's encoding, not security
  • Decoding a JWT reveals the header and payload, not the signature

Frequently asked questions

What's the size penalty?

Base64 increases data size by ~33%.

Is Base64 secure?

No, it's just encoding. Anyone can decode it.

What's the URL-safe variant?

It replaces + and / with - and _.

Ratings & reviews

No reviews yet. Be the first.

Sign in to leave a rating.

Loading reviews…