OAuth Callback Parameters
Encode redirect_uri and state query parameters to prevent parameter pollution and broken authentication flows.
Safely encode or decode URL components, query parameters, and URIs with support for %20 vs + space notation.
Guide · Developer
Master query parameter sanitization, distinguish between URI component encodings, and avoid common breaking character traps.
Encode or decode URL components online for query parameters, API requests, web development and debugging.
Choose 'Encode' to percent-escape special characters or 'Decode' to restore readable text.
Pick Component vs Full URI and select '%20' or '+' for space encoding.
Real-time client-side conversion allows instant one-click copying for your API or browser.
Encode redirect_uri and state query parameters to prevent parameter pollution and broken authentication flows.
Safely encode campaign names containing spaces and dashes (e.g. 'summer promo & sale') into utm_campaign.
Decode incoming webhook query strings and encoded payload URLs for backend database logging.
Percent-encoding (defined in RFC 3986) is a mechanism for encoding characters in a Uniform Resource Identifier (URI). Characters outside the unreserved ASCII set (such as spaces, ampersands, slashes, and emojis) are converted into a '%' followed by two hexadecimal digits representing their UTF-8 byte value.
encodeURI() is designed for entire complete URLs and preserves protocol, host, and path delimiters (;,/?:@&=+$#). encodeURIComponent() escapes all special characters (including '&', '?', and '/') so that a string can safely be passed as an individual query parameter value.
'%20' is the strict RFC 3986 standard for all URI components. '+' is used specifically in application/x-www-form-urlencoded query strings (often seen in HTML form GET submissions).
Guide · Developer
convert URL text into percent-encoded form or decode it. prevents special characters from being confusing when working with URLs and query strings
Encode or decode URL components online for query parameters, API requests, web development and debugging.
Enter the URL component or encoded text.
Choose encode or decode.
Run the transformation.
Copy the result into the relevant URL or debugging workflow.
Encode a query parameter containing spaces and punctuation.
Decode a percent-encoded value while inspecting an API request.
URL percent-encoding represents characters that are unsafe or ambiguous in a URL using encoded byte values.
Usually encode individual parameter values rather than blindly encoding structural characters such as ? and &.
No. URL encoding preserves data in a URL-safe representation and does not provide secrecy.