| Key | Value (decoded) |
|---|
No query parameters found in the input.
Encoding/decoding runs in your browser. Nothing is uploaded.
A URL encoder and decoder for putting non-ASCII text or symbols into a URL, or for turning a percent-encoded string like `%E6%97%A5%E6%9C%AC` back into readable text. Type text or a URL into the box and, depending on the mode, it shows the percent-encoded or decoded result below, ready to copy with one click. When encoding, you can pick the scope. "Component" works like `encodeURIComponent` and escapes reserved characters too — `?`, `&`, `=`, `/`, `#`, spaces — into `%XX`, which is what you want when building a single query value or one path segment safely. "Whole URL" works like `encodeURI`, keeping the URL's delimiters intact and only escaping characters that genuinely need it (such as spaces or non-ASCII letters), so you can normalize a whole URL without breaking its structure. In decode mode it turns `%XX` back into characters, with an option to treat `+` as a space (the `application/x-www-form-urlencoded` form-submission convention). Decode mode also parses the part after `?` of a URL (or a bare `key=value&…` string) as a query string and splits every parameter into its key and its decoded value in a table — handy for inspecting the parameters of a long tracking URL or reading an API query one field at a time. It accepts both `&` and `;` as separators, and if a `%` sequence is malformed it leaves that part as-is instead of failing. Importantly, the text or URL you enter is never uploaded, stored, or sent to a server — all processing happens with JavaScript entirely inside your browser, so internal URLs or queries containing tokens that you can't share stay on your device. Note that this tool focuses on URL percent-encoding; it does not do Base64 or HTML-entity conversion, nor does it check, resolve, or shorten URLs.
How to use
- Pick a mode — Encode or Decode (and the encode scope if needed).
- Type or paste text or a URL into the box, and the result appears below.
- When decoding, the query string after ? is split into key/value pairs. Copy the result with the button. Your input is never sent anywhere.
FAQ
Is the URL or text I enter uploaded anywhere?
No. All conversion happens with JavaScript inside your browser, and the text or URL is never uploaded, stored, or sent to a server. Internal URLs and queries containing tokens you can't share stay entirely on your device.
What is the difference between "Component" and "Whole URL"?
"Component" is like encodeURIComponent and escapes reserved characters too — ?, &, =, /, # — so it's for building a single query value or path segment. "Whole URL" is like encodeURI and keeps the URL's delimiters, escaping only characters that need it (spaces, non-ASCII), so you can normalize a full URL without breaking it.
Why isn't `+` becoming a space (or why is it)?
In URL query strings (application/x-www-form-urlencoded), spaces are sometimes written as `+`. Turn on "Treat + as space" when decoding to convert `+` to a space. Leave it off to keep `+` as a literal plus sign.
How does the query-string split work?
In decode mode, if the input has a `?` the part after it is used (otherwise the whole input), treated as a sequence of `key=value` pairs separated by `&` or `;`, and each parameter is split into its key and decoded value in a table.
Can it do Base64 or HTML-entity conversion too?
No. This tool focuses on URL percent-encoding (%XX) and query-string splitting. It does not convert Base64 or HTML entities, and it does not check, resolve, or shorten URLs.