Encode text to Base64, including full Unicode and URL-safe output.
Plain text
The simplest case
Hello, World!Unicode and emoji
Where most encoders break
Café ☕ — naïve résumé 🔐JSON payload
Encoding structured data for transport
{"user":"ada","scope":["read","write"]}Plain text
The simplest case
Hello, World!Unicode and emoji
Where most encoders break
Café ☕ — naïve résumé 🔐JSON payload
Encoding structured data for transport
{"user":"ada","scope":["read","write"]}Any text at all, in any language. Encoding happens as you type.
Turn on URL-safe mode for values going into a query string or a JWT, or line breaks for MIME contexts that require wrapping at 76 characters.
Copy the encoded string, or download it as a file if it is long.
Encoding runs through UTF-8, so accented characters, non-Latin scripts and emoji all round-trip correctly instead of throwing an error.
One toggle swaps the alphabet and drops padding, producing values safe to place directly in URLs and JWT segments.
Encoding is local, which matters because Base64 is so often applied to credentials and tokens.
Base64 turns arbitrary text into a set of characters that survive transport through systems which only handle plain ASCII — email headers, data URLs, JSON fields, HTTP basic auth. Most browser-based encoders break as soon as you feed them an accented character or an emoji, because they use an API that only understands Latin-1. This one encodes through UTF-8 first, so any text encodes correctly, and offers URL-safe output for values that need to live in a query string.
Keep going
Related pages in Developer Tools, plus what others are using right now.
More developer tools that pair well with this one.
Decode Base64 back to readable text, with clear errors when it is not valid.
Decode JSON Web Tokens and read the header, claims and expiry.
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once.
Format, validate and minify JSON, with errors that point to the exact line.
Escape text for HTML, or turn entities back into readable characters.
Test regular expressions live, with highlighted matches and capture groups.
Create strong random passwords with full control over length and characters.
Work out any percentage — of a number, as a share, or as a change.
Count words, characters, sentences and paragraphs as you type.
Convert between length, weight, temperature, volume, speed, data and more.
Count characters with and without spaces, against the limits that matter.
Find the mean, median, mode and range of a list of numbers, with the working shown.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
See how savings grow with compounding, including regular contributions.
Shrink JPEG, PNG and WebP files with a quality slider and a live size comparison.