URL Encoder/Decoder
100% PrivateDeveloper ToolsPercent-encode text so it travels safely inside a web address, or decode it back.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
- 1Choose Component mode for a query value, or Full URL mode for a whole address.
- 2Paste your text or URL.
- 3Press Encode or Decode.
- 4Copy the result.
In component mode, encoding "hello world & more" gives: hello%20world%20%26%20more The ampersand is encoded because in a query string a raw & would start a new parameter. In full URL mode, "https://example.com/a b?q=x y" becomes "https://example.com/a%20b?q=x%20y": spaces encoded, structure preserved.
- Component mode encodes everything a URL cannot carry raw, including &, =, ? and /. Full URL mode deliberately leaves the structural characters alone.
- Decoding invalid input, like a stray % or an incomplete %2 at the end, produces a clear error instead of garbage.
- Encoding is not encryption. Anyone can decode a percent-encoded string with this same tool.
If you are building one value inside a URL, like a search term or a redirect target, use Component. If you have a whole address with a space in it, use Full URL.
About this tool
The URL Encoder/Decoder percent-encodes text so it can travel safely inside a web address, and decodes percent-encoded strings back into readable text. Component mode is for a single value going into a query string; full URL mode encodes spaces and stray characters while keeping the address structure intact.
Related tools
Part of Ovatly's free tools in Developer Tools.