Encoding & Decoding Tools
URL Encoder
Encode text for safe use in a URL. Choose Component mode for a single query parameter or path segment, or Full URI mode to encode a whole URL while leaving reserved characters like :/?& intact.
Advertisement
Advertisement
Related tools
Features
- Component mode for a single query parameter or path segment
- Full URI mode for encoding an entire URL while preserving its structure
- Copy or download the encoded result
How to use
- Choose Component or Full URI mode based on what you're encoding.
- Type or paste the text to encode.
- Copy the encoded output or download it as a file.
Example
Component mode example
a b&c=d → a%20b%26c%3Dd
FAQ
- What's the difference between Component and Full URI mode?
- Component mode (encodeURIComponent) escapes every reserved character, including & and = — use it for a single query parameter value. Full URI mode (encodeURI) leaves URL structure characters like :/?& alone — use it when encoding an entire URL.
- Why did spaces become %20 instead of +?
- %20 is the standard percent-encoding for a space. The + convention for spaces is specific to the application/x-www-form-urlencoded format used in form submissions, not general URI encoding.
Advertisement