Component-safe encoding
Reserved and non-ASCII characters are converted with standard percent encoding.
Encode or decode URL components instantly without sending input to a server.
Encode or decode URL components safely.
0 lines · 0 characters
All processing happens locally in your browser.
URL Encoding (also known as Percent-Encoding) is a mechanism for converting non-ASCII or reserved characters into a safe, standard format that can be transmitted over the Internet within Uniform Resource Identifiers (URIs).
Under RFC 3986, characters that have special reserved syntactic meaning in URLs (like ?, &, =, /, #) or characters outside the standard US-ASCII range (like spaces and international UTF-8 characters) are represented using a percent sign % followed by a two-digit hexadecimal value corresponding to their byte code.
Letters (A-Z, a-z), Decimal Digits (0-9), and four special punctuation marks: - (hyphen), _ (underscore), . (period), ~ (tilde).
Paste the text or encoded URL component.
Choose Encode or Decode.
Process and copy the converted value.
Reserved and non-ASCII characters are converted with standard percent encoding.
Turn percent-encoded values back into human-readable text.
Conversion uses built-in browser functions without a network request.
This tool uses URL-component encoding, which is best for query values, path segments, and individual parameters.
A malformed percent sequence, such as a percent sign without two hexadecimal digits, is not valid URL encoding.
Everyday Utilities
Remove repeated lines while preserving their first occurrence.
Sort lines naturally, alphabetically, or by length.
Validate, pretty-print, or minify JSON.
Encode Unicode text to Base64 or decode it back to text.
Generate one or many cryptographically random UUID v4 values.
Calculate SHA-1, SHA-256, SHA-384, or SHA-512 file hashes.