URL Encoder / Decoder & Parser
Encode or decode URLs, and split a URL into its parts and query parameters.
Loading the tool…
Percent-encode text for use in a URL, decode %XX sequences back to readable text, or split a full URL into its scheme, host, path, query parameters and fragment. It runs in your browser, so links with tokens or personal details stay on your device.
How to use URL Encoder / Decoder & Parser
- Pick Encode, Decode or Parse.
- For Encode, choose Component to escape everything (right for a single query value) or Whole URL to keep characters such as "/" and "?" in place.
- Paste your text or URL, or press Sample.
- Copy the result. In Parse mode, read each part and each query parameter in the lists below.
Limits and tips
- Whole URL encoding leaves the structure characters alone; use Component for a single value or it may not be escaped enough.
- Invalid % sequences in Decode mode are kept as typed and counted in a warning, not silently dropped.
- A URL without a scheme such as https:// is read as a relative path.
- A URL that contains a username or password is flagged. Avoid sharing such links.
Private by design: how it works
This tool runs in your browser. The text you type or paste stays on this device and is never sent to a server. You can check it: open your browser network panel while you use the tool.
How we verify privacy ›Frequently asked questions
What is the difference between Component and Whole URL?
Component escapes nearly every special character, which is what you want for one query value. Whole URL keeps characters that give a URL its structure, such as ":", "/", "?" and "#", and escapes the rest.
Why do spaces become %20 or +?
In a path, a space is written as %20. In HTML form query strings, a "+" also stands for a space. The Space as + option lets you choose which one you need.
Can it show the parts of a long link?
Yes. Parse mode lists the scheme, user, password, host, port, path, query and fragment, and each query parameter as a key and a value.
Does it handle Hindi text in URLs?
Yes. Non-Latin characters are encoded as UTF-8 bytes, for example %E0%A4%A8 for the Devanagari letter na, and decoded back the same way.
Is the link I paste sent anywhere?
No. Encoding, decoding and parsing happen in your browser and nothing you paste is uploaded.
Last updated 2026-10-04 · Reviewed by the ToolBook team