URL Encoder & Decoder
Safely encode URLs, query parameters, and non-ASCII characters into RFC 3986 percent-encoding (%20) and decode encoded URIs back to readable text.
Detalhamento do Cálculo
Sobre URL Encoder & Decoder
Uniform Resource Identifiers (URIs) only permit a restricted subset of the US-ASCII character set. Characters outside this set (such as spaces, ampersands, quotation marks, and non-Latin scripts) must be converted into percent-encoding (also known as URL encoding) per RFC 3986.
Percent-encoding replaces unsafe characters with a percent sign (%) followed by two hexadecimal digits representing the UTF-8 byte value. For instance, a space becomes %20, an exclamation mark becomes %21, and an ampersand becomes %26.
This tool is essential for web developers, API engineers, and SEO specialists needing to sanitize URL query strings, debug redirect URLs, or inspect encoded web requests.
Como usar esta ferramenta
- Insira o texto ou valor no campo de entrada.
- Configure as opções ou direções de conversão conforme desejado.
- O resultado convertido é gerado instantaneamente em tempo real.
- Clique no botão Copiar para salvar o resultado.
URL Encoding Examples
Query String Parameter Encoding
Encoding a search term containing spaces and special characters.
Decoding an Encoded URL Path
Reversing percent-encoded directory paths into clean text.
RFC 3986 vs form-urlencoded Differences
- Encodes characters per modern RFC 3986 specifications (%20 for spaces rather than legacy application/x-www-form-urlencoded plus signs).
- Unreserved characters (A–Z, a–z, 0–9, -, _, ., ~) are preserved without unnecessary encoding.
Perguntas Frequentes
What is URL encoding?
Why does a space become %20 in URLs?
What is the difference between %20 and + for spaces?
Which characters are considered safe in a URL?
Ferramentas Relacionadas
Escape special characters into named, decimal, or hex HTML entities and decode back.
Encode text, Unicode strings, and binary data into RFC 4648 Base64 and decode Base64 back to text.
Convert strings to UTF-8 variable-length byte streams in hexadecimal format and decode back.