Skip to content

Developer Tools

Base64 Encoder and Decoder

Encode Unicode text to Base64 or decode it back. Optional URL-safe mode uses - and _ and strips padding. Encoding uses UTF-8 via encodeURIComponent.

Your workspace

Runs in your browser

How to use

  1. 1Paste text on the left to encode, or Base64 on the right to decode.
  2. 2Toggle URL-safe if you need it.
  3. 3Click Encode or Decode.

What this tool does

  • — UTF-8 text
  • — URL-safe option
  • — Copy result

Useful when

  • — Debugging data URLs
  • — JWT playgrounds
  • — Config snippets

Where processing happens

Encoding and decoding run in the browser with btoa/atob plus UTF-8 helpers.

Questions

Can I encode files?+

This version encodes text, not arbitrary binary files.

Guides for this tool

Related tools

More in Developer Tools · Guides