Base64 Encode & Decode
Base64 Encode & Decode turns text into Base64, or Base64 back into text, in your browser. It handles Unicode (UTF-8) and can write URL-safe output without padding. Nothing you paste is uploaded.
How to use Base64 Encode & Decode
- Paste your text or a Base64 string.
- Choose to encode or decode, and turn on URL-safe output if you need it.
- Copy the result.
Frequently asked questions
What is URL-safe Base64?
It swaps + and / for - and _ so the result can be used in URLs and filenames without escaping, and often drops the = padding. JWTs use this variant.
Next step
Want to embed a picture instead of text? Convert an image to a Base64 data URI. Open Image to Base64 & Data URI.
Related tools
- 063