Developer
All toolsURL Encoder
Encode and decode URL strings without sending data anywhere.
Input
Output
https://example.com/search?q=TULAKITO%20tools
Frequently asked questions
- When should I use encodeURI versus encodeURIComponent?
- Use encodeURIComponent for individual query values or path segments because it escapes reserved characters like &, =, and /. Use encodeURI only when escaping a full URL where those reserved characters must stay intact.
- Why is a space sometimes encoded as %20 and sometimes as a plus sign?
- Path segments encode spaces as %20, while the application/x-www-form-urlencoded format used in query strings traditionally encodes them as +. Both are valid in their respective contexts.
- Do I need to encode characters like the tilde or hyphen?
- No, unreserved characters defined in RFC 3986 - letters, digits, hyphen, underscore, period, and tilde - never require percent-encoding.