Base64
Encode or decode text and files locally.
Or encode a file to Base64
Drop a file
up to 20 MB
Max file size: 20 MB
About this tool
Encode and decode Base64 - handy for embedding binary data in JSON, debugging APIs and inspecting JWTs.
Features
- Encode and decode strings or files
- URL-safe Base64 option
- Live two-way conversion
- Local
How to use it
- Paste text or upload a file.
- Pick encode or decode.
- Copy the result.
🔒 100% private
Everything happens inside your browser using JavaScript and WebAssembly. Your files are never uploaded to a server, never stored, and never seen by us.
Frequently asked questions
What's URL-safe Base64?
It replaces + and / with - and _ so the value can sit safely in URLs.