Web Tools
URL Encode / Decode
Convert URL text to and from percent encoding.
| protocol | https: |
|---|---|
| host | hanakash.com |
| path | /search |
| query | ?q=online%20tools |
| hash | - |
About This Tool
Encode spaces, symbols, query parameters, redirect URLs, and other URL text into percent-encoded form, or decode encoded values back into readable text. When the input is a valid URL, the tool also shows its protocol, host, path, query, and hash.
How To Use It
- Choose Encode component for a query value or path segment, Encode full URL for a complete URL, or Decode for percent-encoded text.
- Paste or type the URL text.
- Review the converted output and parsed URL parts when available.
- Copy the result or use the output as the next input to reverse the conversion.
Examples
Encode a query value
online tools becomes online%20tools when encoded as a URL component.
Decode a redirect URL
Decode https%3A%2F%2Fhanakash.com%2Ftools to read the original URL.
Useful Notes
Component vs full URL
Encode component escapes characters such as :, /, ?, and &, which is useful for individual query values. Encode full URL preserves structural URL characters.
Common use cases
Use URL encoding for query strings, redirect parameters, API debugging, analytics links, and values that contain spaces or special characters.
FAQ
When should I use Encode component?
Use it for a single query value, path segment, or parameter value that will be inserted inside a larger URL.
When should I use Encode full URL?
Use it when the input is already a complete URL and you want to encode unsafe characters while preserving URL structure.
Is this the same as Base64?
No. URL encoding escapes characters for safe URLs, while Base64 represents bytes as text.
Related Tools
HTML Entity Encoder / Decoder
Convert text to and from HTML entities directly in your browser.
Base64 Encode / Decode
PopularConvert plain text and Base64 in either direction.
JSON Formatter & Validator
PopularValidate JSON, pretty-print it, minify it, and inspect JSON paths.
Word & Character Counter
PopularInstant word, character, line, and reading-time counts.