πŸ” encrypt.toolsALL TOOLS
URL Β· RFC 3986

URL Encode & Decode (Percent Encoding)

Percent-encoding for URLs and query strings.

FIELD NOTES

About this tool

Percent-encoding escapes characters that have meaning in URLs. Component mode (encodeURIComponent) escapes everything reserved β€” right for query values; URL mode (encodeURI) preserves the characters that structure a URL. Both directions run live.

Like everything on encrypt.tools, this runs entirely in your browser β€” nothing you enter is transmitted or stored.

FREQUENTLY ASKED

Frequently asked questions about URL Encoder

What's the difference between the two modes?+

Component mode (encodeURIComponent) escapes all reserved characters β€” right for query values. URL mode (encodeURI) preserves the characters that structure a URL, like : / and ?.

When do I need URL encoding?+

Whenever text goes into a URL β€” query parameters, path segments, or form data β€” so special characters like spaces, &, and = aren't misread.

Why did decoding fail?+

Malformed percent-encoding (a stray % or an incomplete %XX sequence) can't be decoded. Check the input for lone % signs.

RELATED INSTRUMENTS