URL component
encodeURIComponent — safe for use as a query parameter value
Paste your text on the left to see the encoded output.
Paste any text to encode or decode it for URLs, email templates, and Base64. Toggle between encode and decode, then copy the format you need.
encodeURIComponent — safe for use as a query parameter value
Compact binary-safe encoding used by some ad platforms and data URIs
Escapes & < > " ' — safe for embedding in email HTML templates