Base64 encoder / decoder
Free · no sign-upEncode text to Base64 or decode it back — UTF-8 safe, right in your browser.
Encode text to Base64 or decode Base64 back to text — instantly, in your browser. This free Base64 tool is UTF-8 safe, so accented characters, emoji and Cyrillic round-trip correctly, and it supports URL-safe Base64 (using - and _) for tokens and query strings. Nothing is uploaded; encoding and decoding happen entirely on your device.
- ✓Encode and decode with one click
- ✓UTF-8 safe — handles emoji, accents and Cyrillic
- ✓URL-safe option (- and _, no padding)
- ✓Copy the result instantly
- ✓Runs in your browser — nothing uploaded
Who it's for
- Developers encoding data for a data URL or API
- Decoding a Base64 string from a config or token
- Creating URL-safe tokens
- Anyone inspecting Base64 content quickly
How it works
- 1Choose Encode or Decode.
- 2Paste your text or Base64 string.
- 3Toggle URL-safe if you need it.
- 4Copy the result.
Frequently asked questions
What is Base64?+
Base64 represents binary data or text as plain ASCII characters. It's used in data URLs, email attachments, JWTs and API payloads where only text is allowed.
Is it UTF-8 safe?+
Yes. Text is encoded as UTF-8 first, so non-Latin characters, emoji and Cyrillic decode back exactly as you typed them — unlike a plain btoa().
What is URL-safe Base64?+
A variant that replaces + with - and / with _ and drops the = padding, so the result is safe to use in URLs, filenames and tokens.
Is my data uploaded?+
No. Everything runs locally in your browser — nothing is sent to a server.
You may like
Some links may be partner links — how this works
Related tools
A polished PDF invoice in under a minute.
Send a professional quote clients can say yes to.
Order from a supplier with a clean PO.
A clean delivery note with sign-off lines.
18 designs — a beautiful gift certificate or coupon.
A clean proof-of-payment receipt in seconds.