Base64 encoder & decoder
Encode and decode Base64 free in your browser. UTF-8 safe, URL-safe option, and file-to-Base64 data URIs. 100% private, no upload, no sign-up.
100% private — files never leave your deviceResult
How to use
- Choose a mode. Select Encode to turn text into Base64, or Decode to turn Base64 back into text.
- Enter your input. Type or paste your text; the result updates live as you go.
- Optional URL-safe. Enable URL-safe output to use -_ instead of +/ and drop the padding.
- Copy the result. Copy the output with one click. Nothing was uploaded.
Features
- UTF-8 safe. Correctly encodes and decodes Unicode text including emoji and accents.
- URL-safe variant. Produce Base64URL output (-_ , no padding) for tokens and query strings.
- File to Base64. Turn any file into a Base64 data URI ready to embed in HTML or CSS.
- Nothing leaves your device. Encoding and decoding run locally, so your data is never uploaded.
- Live and instant. The result updates as you type — no button needed for text.
When to use it
- Decode a Base64 string from a JWT, config file or email header.
- Encode text or credentials into Base64 for a header or payload.
- Turn a small image into a data URI to inline in CSS or HTML.
- Create URL-safe Base64 for a token or query parameter.
- Quickly check what a Base64 blob actually contains.
Is it private?
Encoding and decoding happen locally in your browser and are never uploaded.
Frequently asked questions
Is this Base64 tool free?
Yes, it's completely free with no sign-up and no limits.
Is my input uploaded anywhere?
No. Encoding and decoding happen locally in your browser, so your data is never uploaded.
Does it handle emoji and accents?
Yes. It's UTF-8 aware, so Unicode characters encode and decode correctly.
What is URL-safe Base64?
A variant that replaces + and / with - and _ and drops = padding, so it's safe in URLs and tokens.
Can I convert a file to Base64?
Yes. Use File → Base64 to turn any file into a data URI you can embed.
Do I need to install anything?
No. It runs entirely in your web browser with nothing to install.
Last updated