Encoding & Crypto · Free Tool

URL Encoder & Decoder

Percent-encode text for safe use in URLs, or decode an encoded URL back to readable text.

About this tool

URL-encode (percent-encode) any text so it can travel safely inside a URL, or decode an encoded URL back into readable text. Spaces become %20, ampersands become %26, and other reserved characters are converted to their percent-encoded form.

This matters whenever you build query strings by hand, debug webhooks and redirects, or read tracking URLs — an unencoded & or ? in a parameter silently breaks the URL's meaning.

Common uses

  • Encode a redirect URL before placing it in a query parameter
  • Decode a long tracking link to see what parameters it actually carries
  • Fix broken links caused by spaces or special characters

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent (used here by default) encodes every reserved character and is right for individual parameter values. encodeURI leaves URL structure characters like :, /, ?, and & intact and is meant for encoding a complete URL.

Why do spaces sometimes appear as + instead of %20?

The + convention comes from the older form-submission format (application/x-www-form-urlencoded). Both are decoded as spaces in query strings, but %20 is the safer, universal choice.

Is my data uploaded to a server?

No. This tool runs entirely in your browser using JavaScript — nothing you type is transmitted, logged, or stored anywhere. You can even use it offline once the page has loaded.