URL Encoder / Decoder
No server upload
Encode, decode and parse URLs with Query String analysis. Processed entirely in your browser.
URL Encoder / Decoder
encodeURIComponent
encodeURI
escape
Protocol-
Host-
Port-
Path-
Fragment (#)-
| Key | Value (decoded) | Value (raw) | Actions |
|---|
| Key | Value | Actions |
|---|
Guide
What is URL encoding?
URL encoding converts unsafe characters into %XX format so browsers and servers interpret the same request consistently.
encodeURIComponent vs encodeURI
encodeURIComponent is best for query values, while encodeURI is used for complete URLs and keeps URL delimiters.
Why encode non-Latin URL text
Non-ASCII text can break in some environments, so UTF-8 percent-encoding keeps URLs portable and stable.
What is a Query String?
A Query String is the key=value list after ? in a URL, used to pass filters, state and request options.
Why special characters must be encoded
Characters like &, = and # have structural meaning in URLs, so values should encode them to avoid collisions.