Base64 encoder and decoder
Convert text to Base64 or decode Base64 to text โ all in your browser, nothing uploaded to any server.
๐ 100% private โ all conversion happens on your device, nothing is uploaded to any server.
-
1. Paste your text or Base64
Type or paste directly into the box.
-
2. Encode or decode
One click and you have the result, either direction.
-
3. Copy the result
One click and it's on your clipboard, ready to use.
How it works
"Encode" converts the text you type (with full support for accents, emoji and any UTF-8 character) into its Base64 representation. "Decode" does the opposite: it turns Base64 back into readable text. If the Base64 came from a URL or a token, enable the "URL-safe" option so it's interpreted correctly.
Why it's private
There's no server involved: conversion happens in your browser with JavaScript. Nothing you paste here is sent anywhere.
Frequently asked questions
Is my text uploaded to a server?
No. All encoding and decoding happens in your browser, with JavaScript. Nothing you paste here is sent anywhere.
What is URL-safe Base64?
It's a Base64 variant that replaces the + and / characters (which have special meaning in a URL) with - and _, and drops the trailing = padding. It's widely used in tokens and JWTs, and in URL parameters.
Why does decoding fail?
Usually because the pasted text isn't valid Base64: it has characters outside the Base64 alphabet, or is missing padding. If the text came from a URL, enable the URL-safe option before decoding.