regula.tools
100% Client-SideConverters

Online URL Encoder, Decoder & Query Parameter Inspector

Safely percent-encode or decode URLs, OAuth redirect URIs, API query parameters, and multibyte UTF-8 text directly in your browser. Switch seamlessly between Component (encodeURIComponent), Full URI (encodeURI), and Form (application/x-www-form-urlencoded) modes with optional strict RFC 3986 escaping and an automatic URL structure & query parameter breakdown table.

Loading workspace...

#How to Use This Tool

1Select "URL Encode" or "URL Decode" (or click Swap to reverse the transformation).
2Choose your standard: Component (for query values), Full URI (for complete URLs), or Form (+ for spaces).
3Optionally enable "RFC 3986 Strict" to escape sub-delimiters (!'()*) required by OAuth 1.0a and AWS SigV4.
4Paste your URL or string; inspect the output and the parsed URL & Query Parameter table below.

#Mathematical Formula & Standards

RFC 3986 Percent-Encoding maps each reserved or non-ASCII UTF-8 byte into a 3-character `%HH` hexadecimal triplet. Unreserved characters (`A-Z`, `a-z`, `0-9`, `-`, `_`, `.`, `~`) remain untouched. Component mode (`encodeURIComponent`) escapes structural delimiters (`:/?#[]@$&+,;=`), Full URI mode (`encodeURI`) preserves URL structure, and Strict RFC 3986 additionally escapes `!'()*` (`%21%27%28%29%2A`). Form mode (`x-www-form-urlencoded`) maps ASCII spaces (`0x20`) to `+`.

#Edge Cases & Technical Considerations

encodeURI vs. encodeURIComponent

Use encodeURI when encoding a complete URL while keeping `https://`, `/`, `?`, and `=` intact. Use encodeURIComponent when encoding a single query parameter value that might contain `&`, `=`, or `/` so it does not break the parent URL.

%20 vs. + for Spaces

RFC 3986 encodes spaces as `%20` in URL paths and components, whereas WHATWG `application/x-www-form-urlencoded` encodes spaces as `+` in HTML form payloads. Decoding a `+` in Component mode leaves `+` literal; switch to Form mode to decode `+` as a space.

Double-Encoding Pitfalls

Encoding an already percent-encoded string turns `%20` into `%2520` because `%` itself encodes to `%25`. Always inspect the `% sequences` counter and the decoded query table to verify single-pass encoding.

#Frequently Asked Questions

Q:Are my URLs, OAuth tokens, or query parameters sent to a server?

No. All URL encoding, decoding, and query parameter parsing execute 100% locally in your browser with zero server requests.

Q:When should I enable RFC 3986 Strict mode?

Enable RFC 3986 Strict mode when generating OAuth 1.0a signatures, AWS Signature Version 4 canonical requests, or strict API signatures that require escaping `!`, `'`, `(`, `)`, and `*`.

Have feedback or feature requests?

Help us improve this utility. Share suggestions, report edge cases, or request new features directly.

Send Feedback