Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 back to text. Full Unicode support and URL-safe Base64 variants included.
Base64 is an encoding, not encryption. Anyone can decode it — never use it to hide secrets.
About Base64 Encoder
Base64 represents binary data using 64 printable ASCII characters, which lets you carry it safely through systems that only accept text — JSON payloads, HTTP headers, data URIs and email attachments. This tool converts in both directions and handles Unicode correctly.
How to use it
- Paste text or Base64 into the input.
- Pick Encode or Decode.
- Switch on URL-safe mode if the value goes into a query string.
- Copy the result.
Frequently asked questions
Is Base64 encryption?
No, and this matters. Base64 is reversible by anyone with no key required. It is an encoding for safe transport, never a way to protect secrets.
What is URL-safe Base64?
A variant that swaps + for - and / for _ so the value survives being placed in a URL or filename without percent-encoding. It is used by JWTs.
Why does my decoded text look wrong?
Usually the input was truncated or had whitespace inserted by an email client. Base64 length must be a multiple of four, padded with = if needed.
Trending guides
In-depth reads that go beyond the calculator.
- Trending6 min read
SIP Calculator guide
A Systematic Investment Plan is a standing instruction to put a fixed amount into a mutual fund on the same date each month. That is the whole idea. It is not a product you buy, not an asset class, and not a scheme with a guaranteed rate — it is a schedule. The returns come from whatever the underlying fund holds.
- 3 min read
BMI Calculator guide
Body Mass Index is weight in kilograms divided by height in metres squared. That is the whole calculation. It was devised in the 1830s by the Belgian statistician Adolphe Quetelet, who was explicitly describing populations rather than assessing individuals — a distinction that matters enormously and gets lost constantly.
- 3 min read
Percentage Calculator guide
Almost every percentage problem is one of four shapes. Knowing which one you are looking at is most of the work, because each has a different formula and mixing them up is where the wrong answers come from.