Base64 encoder & decoder
Encode and decode Base64, including the URL-safe variant.
Converters100% client-side
Input
Output
Recent
Nothing here yet.
About this tool
Converts text to Base64 and back, handling full Unicode correctly by encoding through UTF-8 first — which is where naive implementations built on raw btoa tend to break on accented characters and emoji.
The URL-safe variant is supported too: it swaps + and / for - and _ and drops the padding, which is what you will find inside JWTs and in query parameters.
How to use it
- 1Choose a direction — encode or decode.
- 2Paste your text or your Base64 string.
- 3Switch to the URL-safe alphabet if the value comes from a token or a URL.
Privacy
This tool runs entirely in your browser. Nothing you type or paste is sent to a server, and your local history is stored only on this device.
Related tools
- Unix timestamp converterConvert Unix timestamps to readable dates and back, in UTC or local time.
- Color converterConvert between HEX, RGB and HSL with a live preview.
- URL encoder & decoderPercent-encode and decode URLs, with a query string breakdown.
- Markdown previewRender Markdown to HTML side by side, and export the markup.
