Loading...
Encode text for safe use in URLs or decode percent-encoded strings back to readable text. Switch between encoding full URLs (which preserves separators like / and ?) and encoding component values (which encodes everything) — the distinction that trips up most URL bugs.
Paste any URL to parse its query parameters at the same time, and convert between query strings and JSON for use in code and API work. All processing is local, so tokens and signed URLs stay private.
encodeURI keeps characters that structure a URL (:/?#&=), for when your input is a complete URL. encodeURIComponent encodes all reserved characters, for when your input is a single parameter value. Using the wrong one is the classic cause of broken or double-encoded links.
Both encode a space. %20 is standard percent-encoding, used in paths and by encodeURIComponent. + is the legacy form-encoding style, used only in query strings from HTML form submissions. This tool uses the modern %20 form.
If %20 itself becomes %2520, your text was encoded twice — % got encoded to %25. Decode the string twice to recover the original, then encode once at the correct layer in your code.
Yes — the parser converts a=b&c=d style queries into a JSON object, and back. Handy for building API requests or debugging parameter handling.
PureKit · url · Free online tool — files processed locally in your browser, no upload.