URL Encoder & Decoder
Percent-encode a value or full link, then inspect and edit its query parameters without sending the URL anywhere.
- Runs in your browser — files never leave your device
- Fewer clicks, keyboard friendly
Query parameters
Edit decoded names and values; the URL is rebuilt with form-style encoding.
How to use
- Choose Encode to make text safe for a URL, or Decode to read percent-encoded text.
- Choose Component for one value, Whole URL to preserve link separators, or Form value when spaces must become `+`.
- Paste or type the input. The result changes immediately and remains only in this browser.
- When the input has a query string, edit its decoded names and values in the Query parameters table; the rebuilt URL replaces the input.
- Copy the result, or choose Use result as input to check the reverse conversion.
Choose the scope before encoding
A URL component is one piece of data: a search term, redirect target, path segment, or query value. In that situation `&`, `=`, `?`, `/`, and `#` must be encoded so they cannot become URL separators. Component mode follows RFC 3986 and encodes those reserved characters; for example, `a&b=c` becomes `a%26b%3Dc`.
Whole URL mode is for a complete address that already has structure. It keeps delimiters such as `:`, `/`, `?`, `&`, `=`, and `#` readable while encoding spaces and Unicode text. It should not be used for one query value, because an unencoded `&` or `=` inside that value would change the meaning of the link.
Percent encoding and form encoding are not identical
RFC 3986 defines a percent-encoded byte as `%` followed by two hexadecimal digits, so a space is `%20`. It reserves characters such as `?`, `&`, and `=` because they delimit parts of a URI; the unreserved set is letters, digits, `-`, `.`, `_`, and `~`. Unicode text is first represented as UTF-8 bytes, which is why Korean and emoji use several `%XX` sequences.
HTML forms use the related `application/x-www-form-urlencoded` convention. In a form value, a space becomes `+`, and a literal plus sign must be `%2B`. Query tables use that convention because it matches ordinary form-generated query strings. Decode errors are shown instead of guessed: a percent sign must have exactly two hexadecimal digits, and those bytes must form valid UTF-8.
Inspect query values without breaking delimiters
A query string begins after `?`; `&` separates parameters and the first `=` separates each name from its value. The editable table decodes those names and values individually, so a value such as `redirect=https%3A%2F%2Fexample.com%2Fnext%3Fa%3D1%26b%3D2` is readable without turning its embedded `&` into a new outer parameter.
Editing a row rebuilds the query with form-style escaping and preserves the base URL and fragment after `#`. A parameter written without `=` is retained as a name-only parameter until you enter a value. This is useful for checking UTM links, OAuth redirect URLs, and API requests before copying the corrected address.
Frequently asked questions
What is URL encoding?
URL encoding, also called percent encoding, represents bytes that are unsafe or ambiguous in a URI as `%` plus two hexadecimal digits. A space is `%20`, an ampersand inside a value is `%26`, and UTF-8 text such as Korean or emoji becomes a sequence of encoded bytes.
Should I use Component or Whole URL mode?
Use Component mode for one query value, redirect value, or path segment because it escapes separators such as `&`, `=`, `?`, and `/`. Use Whole URL mode only for a complete address whose `https:`, `/`, `?`, `&`, and `=` separators must stay readable.
Why does a space sometimes decode from + instead of %20?
A plus sign means a space only in the `application/x-www-form-urlencoded` convention used by HTML forms and common query strings. In ordinary URI percent encoding, `%20` is a space and `+` is a literal plus unless a form decoder is selected.
Why does URL decoding report an error?
Every percent escape needs exactly two hexadecimal digits, such as `%2F`; a lone `%` or `%2` cannot be decoded. The encoded byte sequence must also be valid UTF-8, so incomplete multibyte text is rejected instead of being silently corrupted.
Does this URL encoder upload my link or token?
No. Encoding, decoding, query parsing, and browser-only saved input all run in this tab. The tool makes no server request for what you paste, so a URL containing a token or redirect parameter remains on your device.
Related tools
Updated 2026-10-15