Text & Code
URL Encoder / Parser
Percent-encode or decode URI components. Parse a full URL into its parts (protocol, host, path, query params, fragment). Runs locally.
● LOCAL
● NO NETWORK
● RFC 3986
ⓘ
encodeURIComponent encodes everything except letters, digits, and
- _ . ! ~ * ' ( ). Use this for individual parameter values. Use encodeURI (not implemented here) to encode a full URL while preserving its structure characters.
Web Parameters & Tokens:
Working with encoded URL query parameters or bearer tokens? Use Base64 & Base64URL to encode binary parameters, or decode auth tokens with the JWT Decoder.
About URL Encoding & WHATWG Parser
What it does
The encode tab applies encodeURIComponent() to percent-encode special characters in a string (for use as a URL query parameter value), or decodeURIComponent() to decode. The parse tab uses the browser's native URL API to split a URL into protocol, hostname, port, pathname, query parameters (as a searchable table), and fragment.
No data leaves your browser. Input may be saved locally in localStorage.