%%

URL Encoder and Decoder

Percent-encode reserved characters for URLs, query parameters, and path segments. Decode percent-encoded text back to its original readable form.

Runs in your browser ⚡ REST API available 🧩 Embeddable
Output
hello%20world%20%26%20friends

What is URL encoding?

Per RFC 3986, certain characters must be percent-encoded in URLs to avoid clashing with reserved syntax (?, &, =, /, etc.).

Choose Component when encoding a single query value or path segment, or Full URL when normalising a complete URL where reserved characters should stay intact.

Common URL encoding examples

A space becomes %20, an ampersand becomes %26, and non-ASCII text is encoded as UTF-8 bytes before percent encoding.

Use this URL decoder to inspect tracking parameters, pasted query strings, redirect URLs, and API callback values before using them elsewhere.

Use the API

Call the same encoder server-side or from another origin. CORS is open, no auth required for the free tier.

curl "https://encode-decode.org/api/v1/url\
?action=encode&input=hello%20world"