Base64 & URL Tool
Encode · decode · percent-escape — offline
Base64 is NOT encryption. Anyone can decode it. Never store passwords or secrets in Base64 — use it only for binary-data transport.
Output
Waiting…
0
Input chars
0
Output chars
—
Size change
Unicode done right
JavaScript's native btoa() breaks on emoji & non-ASCII. This tool first UTF-8 encodes, so Hindi (नमस्ते), Chinese (你好) and emoji (🎉) round-trip perfectly.
Related tools
Common use cases
- Base64: embed small images in HTML/CSS, send binary over JSON APIs, Basic auth headers.
- URL-encode: put user search terms into query strings safely —
?,&,+, spaces all become safe percent-escapes. - URL-decode: read what a server actually received when debugging webhooks.
- WhatsApp / SMS templates frequently need URL-encoded body text — this does it in one tap.
Decoding sanity check: if the decoded output looks like garbage characters, the input wasn't actually Base64 — most errors come from mixing in whitespace or an invalid character.