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.
Runs entirely in your browser. Nothing you paste or upload is sent to a server.
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
JWT Decoder
Decode a JWT token in your browser. Read the header and payload locally — the token is never uploaded.
Base64 Encoder / Decoder
Encode and decode Base64 text or convert images to Base64 data URIs instantly.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes instantly in your browser.
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.