Skip to content
//nullpath.tools

Util / Encoding

/

URL Encode / Decode

0 requests sent since load
Input

convert

output

mode

Output

About URL encoding

Percent-encoding replaces characters that are not allowed (or have special meaning) in a URL with a %XX hex sequence. Component mode usesencodeURIComponent, which encodes everything except letters, digits, and - _ . ! ~ * ' ( ) — use this for individual query-string values. Full URI mode uses encodeURI, which preserves the structural characters (: / ? # [ ] @ ! $ & ' ( ) * + , ; =) — use this when encoding a complete URL.

FAQ

Which mode should I use?

Use Component for query-string values and path segments. Use Full URI only when you want to encode an entire URL while keeping its structure intact.

Is my data sent anywhere?

No. Everything runs in your browser using the native encodeURIComponent / decodeURIComponent APIs.