URL Encoder
Percent-encode and decode URLs and query strings
About this calculator
The URL Encoder percent-encodes and decodes text using the standard encodeURIComponent and decodeURIComponent rules, and can also parse a query string into individual key/value pairs — including repeated keys and + as space. It reports character counts for input and output, and invalid percent sequences during decoding return a clear error instead of failing silently. Useful for building links, debugging APIs, and reading query strings.
How to use the URL Encoder tool
- Enter or paste your input into the field.
- Read the output — it updates instantly as you type.
- Adjust the options, if any, to fit your use case.
- Copy the page URL to share the exact result.
Common examples
- encode "hello world & more" → hello%20world%20%26%20more
- decode caf%C3%A9%20au%20lait → café au lait
- parse ?q=unit+price&page=2&sort=asc → 3 params: q="unit price", page="2", sort="asc"
Frequently asked questions
How does the URL Encoder tool work?
Enter or paste your input and the tool processes it directly in your browser, showing the result immediately. Nothing you type is uploaded to a server — the entire computation happens on your device.
When would I use the URL Encoder tool?
It is handy for development, debugging, design and administration tasks — whenever you need this transformation or check done quickly without installing anything or trusting a third-party service with your data.
How reliable are the results?
The tool implements the relevant standard or specification directly, so its output matches what compliant software produces. Edge cases such as empty or malformed input are reported clearly instead of failing silently.
Can I share a specific result with someone else?
Yes. Your input updates the URL, so copying the address bar and sharing the link reopens the tool in the same state for whoever clicks it.