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 browserHow to use
- 1Paste text on the left to encode, or Base64 on the right to decode.
- 2Toggle URL-safe if you need it.
- 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
- How to debug JSON, Base64 and cron in your browser
Validate JSON, round-trip Base64 text and check five-field cron syntax using local browser tools.
- How to format and validate JSON
Beautify or minify JSON in the browser, read parser errors, and avoid pasting secrets into a random formatter.
- How to hash text (and why you cannot un-hash it)
MD5, SHA-1, SHA-256, and SHA-512 in the browser. Compatibility vs password storage.
Related tools
More in Developer Tools · Guides