Free Base64 Encoder and Decoder
Encode or decode Base64, the URL-safe Base64URL used in JWTs, a URL component or a whole URL, with accents and emoji kept intact and plain errors when the input is broken.
- Base64, Base64URL and URLs
- UTF-8 safe
- Free, runs in your browser
Binary-safe text, for data URIs, email and APIs
Encoded in your browser; nothing is sent to us.
Encoded
Q2Fmw6kgbWVudTogdG9kYXkncyBzcGVjaWFscyDinJM=
Want a site built on clean, fast code? See our web design
Which Encoding to Use
Encoding turns text into characters that survive a trip through systems that would otherwise break it. It is not encryption: anyone can decode it.
- Base64
- Turns any data into A to Z, a to z, 0 to 9, + and /. Used for data URIs, email attachments and API payloads. RFC 4648: Base64
- Base64URL
- The same with - and _ instead of + and /, and no = padding, so it is safe inside URLs. JSON Web Tokens use it.
- URL component
- Encodes everything that has meaning in a URL (& = ? / # and spaces), for one query value or path part. MDN: encodeURIComponent
- Full URL
- Keeps the parts that structure a URL (: / ? & =) and encodes spaces and accented letters.
- UTF-8
- Text is turned into UTF-8 bytes first, so é and emoji round-trip correctly instead of turning into question marks.
How to Encode or Decode
Pick, paste, copy.
Pick the format
Base64 for data, Base64URL for tokens, URL component for a query value, full URL for an address.
Choose encode or decode
Then paste your text. The result updates as you type.
Read any error
Invalid Base64 or a broken % sequence is explained in plain words.
Copy or flip it
Copy the result, or use it as the new input to check the round trip.
When You Want It Done for You
Small fixes add up; a well built site needs fewer of them.
SEO audit services
Every technical issue on your site, speed included, with the fix and what it costs you.
OpenPPC management
The Lead Cost Engine: Google Ads managed to lower your cost per lead, with tracking that counts real leads.
OpenBase64 and URL Encoder Questions
Is Base64 encryption?
How do I decode a JWT?
What is the difference between encodeURI and encodeURIComponent?
Why does my decoded text look garbled?
Is my data sent to a server?
Want a Site That Is Fast, Accessible and Built to Rank?
Tools fix one thing at a time. A free website plan covers the lot: the pages you need, a copy outline, a fixed price and a launch date, live in 14 days.
- The pages you need, and the one job each page does
- What your current site loses, in leads and money
- A fixed price and a 14-day launch date
- An honest answer on whether you need a new site at all
Rather talk it through? Call +1 (217) 677-5905