Curated picks

URL encode & decode

Sanitize values before appending them to URLs or reverse escaped snippets.

Try it

URL encode & decode

Use encodeURIComponent rules: spaces become %20, Unicode becomes UTF-8 percent bytes. Decoding reverses that process.

Percent-encoding

encodeURIComponent is the common JavaScript helper for query values: reserved characters become %XX sequences based on UTF-8 bytes. It is different from HTML entity escaping.

URLs and SEO

Readable paths and clean query parameters help analytics and sharing. Encode dynamic values so special characters do not break tracking or server routing.

Privacy

Processing happens in your tab; we do not log your strings.

Subscribe to the newsletter

Occasional motoring digests from BetterWebHub — no spam, unsubscribe anytime.