URL Encoder & Decoder
Percent-encode text for safe use in URLs, and decode encoded URLs back to readable text.
To URL-encode text, paste it above and unsafe characters are replaced with percent-escaped equivalents. Component mode also escapes reserved characters such as slashes and ampersands, which is what you need when placing a value inside a query string.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
When should I use component encoding?
How to use the url encoder & decoder
- 1Enter or paste your text or url.
- 2Choose the direction.
- 3Turn "Encode component" on or off as needed.
- 4The result appears immediately — copy or download it.
Sources & specifications
Embed this tool
Put the working url encoder & decoder on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
URL ParserBreak a URL into protocol, host, path, query parameters and fragment.Query String to JSON ConverterConvert URL query strings to JSON and build query strings from JSON objects.URL BuilderCompose a URL from its parts with correctly percent-encoded query parameters.Base32 Encoder & DecoderEncode and decode Base32 (RFC 4648) — used by TOTP secrets and case-insensitive identifiers.Base58 Encoder & DecoderEncode and decode Base58 — the Bitcoin alphabet that omits look-alike characters.Base64 Encoder & DecoderEncode and decode Base64 with automatic direction detection, plus file and data-URI support.
Last updated
More encoders & decoders