URL Encoder & Decoder
Encode and decode URL strings instantly. Free. No signup.
URL encode and decode any text
Convert text to URL-safe strings or decode them back. Use encodeURIComponent for query-string values, encodeURI for full URLs. Handles Unicode, emoji, and all special characters. Everything runs in your browser using the native JavaScript API.
Best for: building query strings, debugging API requests, decoding callback URLs, sharing links with special characters.
When to use which:
encodeURIComponent – escapes everything that’s not safe in a query-string value (e.g., &, =, /, ?, #). Use this for individual parameter values.
encodeURI – escapes only characters that would break a URL structurally. Use this for whole URLs where you want to keep delimiters like /, ?, &, # intact.
encodeURIComponent – escapes everything that’s not safe in a query-string value (e.g., &, =, /, ?, #). Use this for individual parameter values.
encodeURI – escapes only characters that would break a URL structurally. Use this for whole URLs where you want to keep delimiters like /, ?, &, # intact.
