URL Encode & Decode
Encode, decode, or parse URL query strings and percent-encoded query parameters instantly. · Updated
Options
Action:
text
Formatted Outputtext
Draft saved locally.
Options
| Option | Description |
|---|---|
| Action | Select whether to decode percent-encoded URLs, encode query strings, or parse query parameters into a JSON object. |
FAQ
What is the difference between encodeURI and encodeURIComponent?
`encodeURI` preserves special protocol characters like `://` and `?`, while `encodeURIComponent` encodes all characters including slashes and ampersands for safe query parameter usage.
Can this tool parse URL query parameters into JSON?
Yes. Switch the Action to 'Parse Query Params (JSON)' to inspect all query keys and values as a structured object.
Does this tool handle '+' as spaces in query strings?
Yes. Decoding automatically handles both `%20` and `+` spaces correctly.
Can I decode non-ASCII and international characters in URLs?
Yes. UTF-8 multi-byte percent-encoded characters are decoded smoothly.
Related tools
Base64 Encode & Decode
Encode plain text to Base64 or decode Base64 strings to UTF-8 text with URL-safe encoding and automatic JSON formatting.
JWT Decoder
Decode JSON Web Tokens (JWT) client-side. Inspect header claims, payload data, expiration times, and token signatures.
JSON Formatter
Format, validate, and explore JSON with a collapsible tree view.
Diff Checker
Compare two text or code snippets side-by-side to highlight added, removed, and modified lines instantly.