Base64 & URL Encoder / Decoder

Encode and decode Base64, Base64URL, URL and HTML entities.

  • Free
  • No sign-up
  • Runs in your browser
  • Developer
Use the tool

Why use it

Encoded strings turn up everywhere in web work: Basic auth headers, JWT segments, webhook signatures, query strings and escaped HTML in a CMS. Paste the text, choose the format and direction, and get the result instantly, with proper UTF-8 handling for accents and emoji.

Four encodings

Base64, URL-safe Base64, percent-encoding and HTML entities.

Encode and decode

Switch direction or swap the result back in to check a round trip.

Full UTF-8

Accents, non-Latin scripts and emoji are handled correctly.

  1. 01

    Pick a format: Base64, Base64URL, URL or HTML entities.

  2. 02

    Choose Encode or Decode, then paste your text.

  3. 03

    Use Swap to feed the result back in and check it round-trips.

  4. 04

    Copy the output with one click.

Who it’s for

Typical situations where this tool saves time.

  • API developersBuild Basic auth headers and read encoded payloads.
  • Frontend developersEncode query-string values and escape text for HTML.
  • Security reviewsDecode suspicious strings found in logs or requests.

Questions

Short answers about privacy, limits and how the tool works.

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Never use it to protect passwords or secrets; use proper encryption or hashing instead.

What is the difference between Base64 and Base64URL?

Base64URL replaces + and / with - and _ and drops the = padding, so the result is safe inside URLs and file names. JWTs use it for their header and payload.

Why does decoding fail?

The input contains characters outside the chosen format, or a URL has a broken % sequence. For Base64, make sure you picked the right variant.

Need a tool like this inside your product?

I build custom calculators, admin utilities and integrations for WordPress, Laravel and Next.js teams.

↑ ↓ to move, Enter to open, Esc to close

Keyboard shortcuts

Ctrl+K
Search tools, articles and projects
/
Search
[
Previous lesson (on articles)
]
Next lesson (on articles)
T
Switch light / dark theme
GthenH
Go to the home page
GthenT
Go to the tools
GthenA
Go to the articles
?
Show this list