Advanced URL Encoder & Decoder
Encode and decode URL text, query values, and URI components with browser-native percent-encoding modes. Inspect URL structure, process bulk input, and safely handle malformed encoded data.
https%3A%2F%2Fyour-domain.com%2Fsearch%3Fq%3Dseo%20tools%20%26%20website%20audits%23results
How to Encode & Decode URLs
Choose Direction
Select Encode to convert unsafe characters into percent-escapes, or Decode to restore readable text from encoded strings.
Select Encoding Strategy
Use Component mode for query parameter values, Full URI mode for whole URLs, Form mode for application/x-www-form-urlencoded, or RFC 3986 for strict normalization.
Input & Review Diagnostics
Paste your text or URL. Inspect real-time character counts, multiple-encoding alerts, or URL structure in the Inspector tab.
Copy or Download
Copy the converted output with one click or download the result as a text file.
What Is URL Encoding?
What Is Percent-Encoding?
%) followed by the two-digit hexadecimal representation of the corresponding byte value.20. In percent-encoding, a space is written as %20. When non-ASCII characters such as accented letters or emojis are encoded, they are first converted to their multi-byte UTF-8 sequence, and each resulting byte is percent-encoded in sequence.How Does a URL Encoder Work?
A-Z, a-z, 0-9, and the hyphen, period, underscore, and tilde), it is left unaltered.?, &, =, and /) are percent-escaped to prevent them from breaking the query string or path structure.URL Encoding vs URL Decoding
%XX sequence, reconstructs the underlying byte stream, and decodes those bytes according to the UTF-8 character set back into human-readable text. Decoding is performed by web servers when extracting form inputs and API parameters.encodeURI vs encodeURIComponent
encodeURI() with encodeURIComponent(). Although both are native browser functions, they serve fundamentally different purposes.encodeURI() is designed to encode a complete URI. It assumes the input already contains protocol and structural delimiters (https://, /, ?, &, =, #) and intentionally leaves them unencoded. In contrast, encodeURIComponent() encodes every reserved delimiter, making it mandatory for encoding individual query parameter values.When to Encode a URL Component
?q=SEO & Audits, which breaks the query parser into two separate parameters.%26 (producing ?q=SEO%20%26%20Audits). The receiving web server recognizes the entire string as a single query value.Full URL Encoding vs Component Encoding
encodeURIComponent('https://your-domain.com/search?q=test') produces https%3A%2F%2Fyour-domain.com%2Fsearch%3Fq%3Dtest, completely destroying the protocol, slashes, and question mark.What Does %20 Mean in a URL?
%20 is the standard percent-encoded escape sequence for the space character. Because space characters are categorized as 'unsafe' in URI specifications, web browsers and HTTP clients cannot transmit raw spaces in URL strings.%20. When search engine bots crawl URLs, they parse %20 as a space. In modern SEO, however, using hyphens (-) instead of spaces in permalinks is strongly recommended for readability and link-sharing aesthetics.Plus Signs and Form Encoding
+). In standard RFC 3986 percent-encoding, a plus sign is a literal character representing an addition symbol or mathematical plus.application/x-www-form-urlencoded media type (used by HTML <form> submissions and URLSearchParams), spaces are encoded as + rather than %20. When decoding form data, a plus must be converted to a space; when decoding standard URL paths, it must remain a literal plus.URL Encoding and Unicode
E6 97 A5, which percent-encodes to %E6%97%A5.Double-Encoded URLs
%) is itself a reserved character, the encoder escapes it as %25.%20) that is double-encoded becomes %2520. Double-encoding frequently corrupts redirect tracking URLs, OAuth callback parameters, and internal search queries. This tool includes automatic double-encoding detection and multi-pass recursive decoding to diagnose and resolve nested encoding layers.Common URL Encoding Errors
% or invalid hex characters like %G1), which triggers a native URIError in JavaScript environments.# (which cuts off query parameters as URL fragments), and corrupting international characters by using legacy single-byte character sets instead of UTF-8.Query Parameters and URL Encoding
?) and contains key-value pairs delimited by ampersands (&) and equal signs (=). Every key and value must be individually encoded.=, the parser mistakenly splits the value into a new key. If it contains an unencoded &, the parameter is truncated. Use the built-in URL Inspector in this tool to verify that all parameters are correctly isolated and encoded.URL Encoding for SEO, APIs, and Redirects
https://your-domain.com/login?redirect=https%3A%2F%2Fyour-domain.com%2Fdashboard), the target destination must be fully component-encoded.How to Decode a URL Safely
URIError exceptions caused by malformed input.Frequently Asked Questions
Essential questions regarding URL encoding, percent escapes, encodeURI vs encodeURIComponent, plus sign behavior, and safe decoding practices.
Was this tool useful?
Your feedback helps us improve VClick Tools.