URL Encoder/Decoder
Percent-encode or decode URLs and query strings safely.
URL Encoder/Decoder
Your data is processed locally in your browser and is not uploaded to OZVILO servers.
How to use the URL Encoder/Decoder
- 1Choose Encode or Decode.
- 2Pick Component mode for a single value, or Full URL mode for a complete address.
- 3Paste your text — the result updates instantly.
- 4Copy the result or use Swap to reverse it.
Examples
Query value (component)
- Input
- rock & roll
- Result
- rock%20%26%20roll
Full URL
- Input
- https://example.com/my page?q=a b
- Result
- https://example.com/my%20page?q=a%20b
Frequently asked questions
When should I use component mode vs. full URL mode?
Use component mode for a piece that goes inside a URL, such as a search term or parameter value — it encodes characters like &, = and /. Use full URL mode for a complete address; it keeps :, /, ?, & and # so the URL still works.
Why is a space sometimes “+” instead of “%20”?
HTML forms encode spaces as “+” in query strings. When decoding form data, turn on “Treat + as space”. Otherwise + is left unchanged.
Will full URL mode double-encode an already-encoded URL?
No. Existing escapes like %20 are kept as they are.
Why does decoding fail?
Decoding fails when a % sign isn't followed by two hexadecimal digits, or when the escapes don't form valid UTF-8 text. The error message explains which.
Related tools
- Available
JSON Formatter & Validator
Beautify, minify and validate JSON with clear error messages.
Developer ToolsOpen tool - Available
Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to plain text.
Developer ToolsOpen tool - Available
UUID Generator
Generate secure random version 4 UUIDs, one at a time or up to 1,000 at once.
Developer ToolsOpen tool - Available
SHA-256 Generator
Create SHA-256 hashes of text or files in your browser and check them against an expected hash.
Developer ToolsOpen tool