websystemer / url-encoder
URL Encoder, Decoder & Parser
Encode and decode URLs and query strings, and break any URL into protocol, host, path and parameters. Runs in your browser.
Input
Output
URL breakdown
Component or full URL?
Encode component escapes everything that has meaning in a URL, including / ? # & =. Use it for a single query value or path segment. Encode full URL leaves those separators alone and only escapes characters that can never appear raw, such as spaces and non-ASCII letters.
URL breakdown
Whenever the input is a complete URL, the table lists its protocol, host, port, path, fragment and every query parameter with decoded values.
Privacy
The work is done with encodeURIComponent, encodeURI and the URL class in your browser. Nothing is uploaded.
More tools
- JSON FormatterFormat, validate, minify and sort JSON.
- Base64Encode and decode text, with URL-safe and UTF-8 support.
- JWT DecoderRead the header, payload and expiry of a JSON Web Token.
- Timestamp ConverterUnix time to dates and back, in any time zone.
- Cron ExplainerPlain-English meaning and the next run times of a cron schedule.
- Regex TesterTest JavaScript regular expressions with live match highlighting.
- Color ToolsConvert HEX, RGB and HSL, and check WCAG contrast.