ClicksBracket

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.

  1. Pick the format

    Base64 for data, Base64URL for tokens, URL component for a query value, full URL for an address.

  2. Choose encode or decode

    Then paste your text. The result updates as you type.

  3. Read any error

    Invalid Base64 or a broken % sequence is explained in plain words.

  4. 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.

Web design

Fast sites built on modern frameworks, live in 14 days.

Open

SEO audit services

Every technical issue on your site, speed included, with the fix and what it costs you.

Open

PPC management

The Lead Cost Engine: Google Ads managed to lower your cost per lead, with tracking that counts real leads.

Open

Base64 and URL Encoder Questions

Is Base64 encryption?
No. Base64 only changes how data is written; anyone can decode it. Never use it to hide passwords or keys.
How do I decode a JWT?
A JWT has three parts separated by dots. Paste the middle part and choose Base64URL, Decode, to read its claims. This does not check the signature.
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent (URL component here) encodes & = ? / too, for a single value. encodeURI (full URL) leaves them, so a whole address keeps working.
Why does my decoded text look garbled?
The Base64 may hold a file (an image or PDF) rather than text, or text in an encoding other than UTF-8. The tool tells you when the bytes are not UTF-8 text.
Is my data sent to a server?
No. Encoding and decoding happen in your browser.

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

Get your free website plan

We reply within one working day.

No contract, no sales pressure. The plan is yours either way.