URL and HTML Encoder
Encode text for a query string, or escape characters so they show up as HTML text. Both directions run on the page.
How to use it
- Paste the text, URL, or HTML snippet.
- Encode or decode it.
- Copy the result into your markup or request.
Useful for
- Encode a search query
- Escape < and > for HTML
- Decode a percent-encoded URL
Related tools
Questions about URL & HTML Encoder
What is the difference between encodeURI and encodeURIComponent? +
This tool uses component-safe encoding so query values and path segments are escaped correctly.