Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, with UTF-8 support and an optional URL-safe variant. Instant, private and browser-based.
About this tool
Convert text to and from Base64, a way of representing binary or text data using a 64-character ASCII alphabet. It is commonly used in data URLs, email attachments, tokens and config files.
Encoding is UTF-8 safe, so accented characters and emoji round-trip correctly, and a URL-safe variant is available for use in links. Everything runs locally in your browser.
Examples
- "Hello, world!" → "SGVsbG8sIHdvcmxkIQ=="
- Decode "8J+Yhw==" → "😇"
- URL-safe mode replaces + and / with - and _
Frequently asked questions
What is Base64 used for?
Base64 encodes binary or text data as ASCII so it can be embedded where only text is allowed, such as data URLs, JSON, JWTs and email.
Does Base64 encrypt my data?
No. Base64 is encoding, not encryption — anyone can decode it. Do not use it to protect secrets.
What is the URL-safe variant?
It swaps the "+" and "/" characters for "-" and "_" and drops padding, so the result is safe to place directly in URLs.
More tools
URL Encoder / Decoder
Encode text for safe use in URLs or decode percent-encoded URLs back to readable text. Unicode-safe, instant and entirely browser-based.
ConvertersJSON Formatter & Validator
Format (pretty-print), minify and validate JSON in your browser. Clear error messages with line numbers. Your data is never uploaded.
DeveloperPassword Generator
Create strong, random passwords with adjustable length and character sets. Uses cryptographically secure randomness and shows estimated strength. Nothing is sent anywhere.
Generators