URL Encoder / Decoder
Encode or decode URLs and URL components. Supports both encodeURI (full URL) and encodeURIComponent (query values) modes.
Percent-encode and decode URLs with the distinction between encodeURIComponent (escapes everything reserved) and encodeURI (preserves the structural characters like / and #). The difference catches a lot of API debugging — using the wrong one turns a query string into garbage. Useful for building safe redirect URLs, debugging OAuth callback parameters, and decoding the URLs deep links arrive in. The encoding runs as a one-line browser primitive, so URLs containing tokens or PII aren't shipped to a server.
What gets encoded?
encodeURIComponent
Encodes everything except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
Use for: query values, path segments, form data
encodeURI (full URL)
Preserves URL structure: : / ? # @ ! $ & ' ( ) * + , ; =
Use for: complete URLs where you want to keep the structure intact
Common Encodings
Space→%20&→%26=→%3D+→%2B/→%2F?→%3F#→%23@→%40Next steps
Base64 Converter
RecommendedEncode or decode Base64 in one click — works with text and files.
HTML Encoder / Decoder
RecommendedEncode HTML special characters to entities and decode them back.
JSON Formatter
Instantly format, validate, or minify JSON — spot errors in seconds.
JWT Decoder
Decode JWT tokens and inspect header, payload, claims, and expiry instantly.
What Is URL Encoding?
Common Use Cases
Building query strings
Encode user-supplied search terms or filter values before concatenating them into a URL.
REST API requests
Encode path segments and query values when assembling API URLs from arbitrary input.
Sharing links with special characters
Encode URLs containing spaces, slashes, or non-ASCII characters before pasting into chat or email.
Form-data debugging
Inspect application/x-www-form-urlencoded payloads to verify what the browser actually sent.
Frequently Asked Questions
Advertisement