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.
How to Use URL Encode Decode Parse
Encode or decode percent-encoded text, or parse a full URL into its components. Everything runs locally in your browser — nothing you paste is ever uploaded.
- Type or paste your text into the 'Enter text or URL...' input field.
- Under 'Type:', choose Component to escape a single value, or Full URL to keep characters like : and / intact.
- Click Encode to convert your text into percent-encoded form.
- Click Decode to turn a percent-encoded string back into readable text.
- Click Parse to break a URL into protocol, host, path, and query parameters.
Use Component for individual query values and Full URL when the address must stay navigable.
Related Tools
- Base64 Encode/Decode Free online Base64 encoder and decoder. Convert text to Base64 and Base64 to text instantly. No server upload, 100% private - runs entirely in your browser.
- HTML Entity Encode/Decode Instantly encode or decode HTML entities. Convert special characters like <, >, &, ", ' to HTML entities and vice versa. Free, fast, and runs entirely in your browser.
- Hex Viewer View file contents in hex dump format with search, offset navigation, and virtual scrolling
- AES Encryption / Decryption AES encrypt/decrypt with CBC, CFB, CTR, OFB, ECB modes, Pkcs7/ZeroPadding/NoPadding, 128/192/256-bit keys, Base64 output, auto-detect key/IV format
- Brotli Compressor Free online Brotli compressor. Compress files to .br with quality 0–11 or decompress .br back to the original. Runs entirely in your browser — no upload, no install.
- Zstd Compressor Free online zstd compressor. Compress files to .zst with Zstandard levels 1–19 or decompress .zst back to the original. Runs entirely in your browser — no upload, no install.
- MessagePack Converter Free online MessagePack converter. Encode JSON to msgpack and decode msgpack hex, base64 or .bin files back to readable JSON, with a size comparison. No upload, runs in your browser.
- ULID Generator Generate universally unique lexicographically sortable identifiers (ULID) online. Decode ULIDs, extract timestamps, and batch create IDs for databases and distributed systems.