Dev / IT
URL Encode / Decode
Encode strings for safe use in URLs and query parameters. Decode URL-encoded strings back to readable text. Supports full URL encoding and component-level encoding.
advertisement · 728×90 leaderboard
encodeURIComponent — encodes everything except letters, digits, and - _ . ~ · Best for query parameter values
how to use
- 1.Enter your string or URL in the input field
- 2.Click Encode to percent-encode special characters
- 3.Click Decode to convert %XX sequences back to text
- 4.Use encodeURIComponent mode for query parameter values
frequently asked
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, preserving characters like / and ?. encodeURIComponent encodes everything except letters, digits, and - _ . ~.