Encoders & Text
URL Encoder & Parser
Encode, decode, and break a URL into its parts and query parameters.
- Recent results are kept in this browser's local storage until you clear them.
History kept on this device
Recent results are kept in this browser's local storage until you clear them. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Input
Output
Byte mapping
Show byte mapping
Parsed URL parts
Enter an absolute URL (such as https://example.com/path?q=1#top) to inspect its parts.
Query parameters
| # | Parameter | Value (URLSearchParams: + decoded as space) |
|---|---|---|
| Query parameters appear here. | ||
Component vs. full-URI scope
- Component scope (
encodeURIComponent) escapes every character except unreserved ASCII (AโZ aโz 0โ9 - _ . ! ~ * ' ( )), including URI delimiters such as; / ? : @ & = + $ , #. Use component scope when encoding an individual query parameter key, query value, or path segment. - Full URI scope (
encodeURI) preserves reserved URI structural delimiters (; / ? : @ & = + $ , #) while percent-encoding spaces, non-ASCII UTF-8 bytes, and other unsafe characters. Use full-URI scope when encoding a complete URL that already has its scheme, host, path, query, and fragment structure in place. - Literal + vs. form decoding: The Decode action uses
decodeURIComponent/ RFC 3986 semantics and leaves+as a literal+. By contrast, the query parameter table usesURLSearchParams(application/x-www-form-urlencodedrules), which decodes+as a space (U+0020) and%2Bas a literal+.
Example
UTF-8 input a b&c=d (7 bytes) encodes to:
- Component (
encodeURIComponent):a%20b%26c%3Dd - Full URI (
encodeURI):a%20b&c=d
Limits
Parsing needs an absolute URL; a relative path is encoded and decoded but not broken into parts. No network request is ever made: the host is parsed, never resolved.
Maximum input size: 16.0 MB of UTF-8 text on the main thread.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.