URL encoder & decoder
Encode or decode URL query components or complete web addresses safely inside your browser.
Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolComponent vs. full URL encoding
Component mode (encodeURIComponent): Escapes reserved structural characters including &, =, ?, /, and :. Use this whenever preparing individual query parameter keys or values.
Full URL mode (encodeURI): Preserves https://, path slashes, ?, &, =, and # fragments while escaping spaces and non-ASCII Unicode characters so an entire link stays navigable.
Form-encoded spaces (+): Optional toggle in component mode converts spaces to + on encode and + back to spaces on decode per application/x-www-form-urlencoded conventions.
Validation & privacy
Malformed escape detection: Invalid hexadecimal escapes such as %ZZ or incomplete UTF-8 byte sequences trigger an explicit error rather than silently returning corrupted text.
Zero logging: URLs containing tokens, redirects, or query parameters never leave your browser tab.
Frequently asked questions
- Which mode should I choose for a full https:// link?
- Choose Full URL structure (encodeURI) if you want https://, slashes, and query delimiters kept intact. Choose Query parameter / component (encodeURIComponent) if you are embedding another link as a parameter value (such as ?next=...).
- Why does decoding a + sometimes stay a +?
- Standard RFC 3986 percent-encoding represents spaces as %20, while HTML form submissions encode spaces as +. Enable "Form space as +" when decoding query strings generated by HTML forms.
Related tools
Browse all toolsWeb & SEO
UTM campaign link builder
Append utm_source, utm_medium, utm_campaign, term, and content parameters cleanly without double-encoding.
Developer tools
Base64 encoder & decoder
Encode and decode UTF-8 text or binary files to standard and URL-safe Base64 locally without server uploads.
Developer tools
Regex tester
Test JavaScript regular expressions, flags, and capture groups inside a timeout-protected Web Worker.