Skip to main content
ToolstikToolstik

Base64 Encoder / Decoder

Processed in your browser

A Base64 encoder turns text into Base64 (optional URL-safe alphabet) and a decoder reverses it. Use it for Basic auth headers, config blobs, or JWT segments. Everything stays in the browser.

What this tool does

A Base64 encoder turns text into Base64 (optional URL-safe alphabet) and a decoder reverses it. Use it for Basic auth headers, config blobs, or JWT segments. Everything stays in the browser.

Features

  • Encode
  • Decode
  • URL-safe mode

How to encode or decode Base64

  1. Paste text to encode or Base64 to decode.
  2. Toggle URL-safe mode if needed for JWT-style strings.
  3. Click Encode or Decode and copy the result.

Why Toolstik

URL-safe mode is a labelled toggle, not a surprise. Invalid Base64 gets an error instead of garbage output.

Example: encode text

Input
Hello, Toolstik!
Result
SGVsbG8sIFRvb2xzdGlrIQ==

Common uses

  • Decode Base64 strings found in API responses or config files.
  • Encode credentials for HTTP Basic auth headers.
  • Inspect JWT segments with URL-safe mode.

Supported formats

  • UTF-8 text
  • Standard and URL-safe Base64

Limits

  • Large strings may slow very old browsers

Limitations

  • Binary file encoding is text-only in this tool.

Privacy

Encoding happens entirely in your browser.

Frequently asked questions

Related guides

Browse the free developer toolkit for every related tool and guide.