URL Encode Decode Parse
Free online URL encoder, decoder, and parser. Convert text to percent encoding, decode URL strings, parse URL components, and extract query parameters instantly.
What is URL encoding?
URL encoding (also called percent encoding) is a mechanism that converts characters into a format that can be safely transmitted over the internet. It replaces unsafe characters with a % sign followed by two hexadecimal digits.
Why do I need to encode URLs?
URLs can only be sent over the internet using the ASCII character set. Characters like spaces, non-ASCII characters, and reserved characters must be encoded to ensure they are transmitted correctly and don't break the URL structure.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a complete URL but preserves URL structure characters like : / ? & = #. encodeURIComponent encodes all special characters and is used for encoding individual URL parameter values.
What characters need to be encoded in a URL?
Reserved characters like ! # $ & ' ( ) * + , / : ; = ? @ [ ] and non-ASCII characters must be encoded. Spaces become %20 or +, and special characters are converted to their %XX hexadecimal representation.
How do I decode a URL?
Paste the encoded URL into the input field, select the Decode mode, and the tool will automatically convert %XX sequences back to their original characters.
What is percent encoding (%XX)?
Percent encoding represents characters as % followed by two hexadecimal digits. For example, space becomes %20, and / becomes %2F. Each byte of the character's UTF-8 representation is encoded separately.
Can I parse URL components with this tool?
Yes, the Parse mode breaks down URLs into components: protocol, hostname, port, pathname, search (query string), hash (fragment), username, and password. It also extracts query parameters as key-value pairs.
Is this tool safe for sensitive URLs?
Absolutely. All encoding, decoding, and parsing happens 100% in your browser. No data is sent to any server, making it completely safe for URLs containing tokens, passwords, or other sensitive information.
What are query string parameters?
Query parameters are the part of a URL after the ? symbol, containing key-value pairs separated by &. For example: ?name=john&age=30. They're used to pass data to web servers.
Does this tool support UTF-8 characters?
Yes, the tool fully supports UTF-8 encoding. You can encode and decode international characters, emojis, and any Unicode characters correctly.
What is double encoding?
Double encoding happens when an already encoded URL is encoded again. For example, %20 becomes %2520. This tool can help you identify and fix double-encoded URLs by decoding them multiple times.
Can I extract specific query parameters?
Yes, the Parse mode displays all query parameters in a table format, making it easy to view, copy, or analyze individual parameters.