Base64 encoder and decoder
Need to put text into a data URL, an HTTP header or a config file โ or read a Base64 string you found in an API response or a token? This Base64 encoder/decoder converts in both directions as you type. It'sUTF-8 safe, so Hindi, Tamil and emoji survive the round trip, and supportsURL-safe Base64 used by JWTs and web tokens. Nothing you paste leaves your browser.
How to use it
- Choose Encode or Decode.
- Type or paste your text or Base64.
- Copy the result โ or Swap to reverse it.
Example
โHelloโ encodes to SGVsbG8=. HTTP Basic authentication sends user:password as Base64 โ which is why it must only be used over HTTPS. For images, use image to Base64; to read a token's contents, use the JWT decoder.
Frequently asked questions
What is Base64 encoding?
A way to write any data using only 64 safe characters (AโZ, aโz, 0โ9, + and /). Itโs used to send binary data or special characters through systems that only handle plain text โ email attachments, data URLs, API tokens and HTTP Basic authentication.
Is Base64 encryption?
No. Anyone can decode Base64 instantly โ it hides nothing. Never use it to protect passwords or secrets.
What is URL-safe Base64?
A variant that replaces + with -, / with _ and drops the = padding, so the result can sit in a URL or filename without escaping. JWTs use it. The decoder here accepts both kinds.
Does it handle Hindi and emoji?
Yes. Text is converted to UTF-8 bytes before encoding, so any language and emoji round-trip correctly.