URL Encoder/Decoder

Make text safe to put in a URL, or turn an unreadable link full of %20 and %C3%A9 back into plain text. When you paste a full link, the tool also breaks it into its host, path and individual query parameters.

This tool runs entirely in your browser. Your files and text are processed on your own device and are never uploaded to our servers.

How to use the URL Encoder/Decoder

  1. Choose Encode or Decode.
  2. When encoding, pick “Query value / path part” to encode a single value (the usual choice), or “Whole URL” to keep characters like : / ? & = intact.
  3. Tick the + option for HTML form data, where spaces are written as + instead of %20.
  4. Copy the result. If you pasted a full URL, check the breakdown table to read each parameter.

Examples

A search query value

Input
red shoes & socks
Result
red%20shoes%20%26%20socks

Reading an encoded link

Input
https://example.com/search?q=caf%C3%A9%20au%20lait
Result
https://example.com/search?q=café au lait

Component or whole URL?

Characters such as ?, & and = have special meaning in a URL. When you put a value inside a query string you must encode them, otherwise “a&b” would start a new parameter — so use “Query value / path part”. Use “Whole URL” only when you have a complete address with a few unsafe characters (such as spaces) and want its structure preserved.

Frequently asked questions

Is anything sent to a server?

No. Encoding, decoding and the URL breakdown run in your browser.

Should spaces be %20 or +?

In URL paths and most APIs, use %20. The + form is used by HTML forms (application/x-www-form-urlencoded) and is common in query strings. When decoding, tick the + option only if the text came from form data.

Why does decoding show an error about %?

Every % in an encoded URL must be followed by two hexadecimal digits. A bare % — for example “100%” — isn’t valid; it should be written as %25.

Which characters are encoded?

Letters, digits and - _ . ~ are never encoded. Everything else, including spaces and non-English letters, becomes % followed by the UTF-8 bytes in hexadecimal.

Everything you need. One simple place.

Free, fast online tools for text, PDFs, images, data and everyday maths. Every tool runs entirely in your browser, so your files stay on your device.

  • Privacy-first processing
  • No sign-up required

© 2026 Toolora. All rights reserved.

Built for speed and privacy