URL & HTML Entity · Encode / Decode
Percent-encode or decode URLs and escape or unescape HTML entities — all in your browser.
How to encode or decode (free)
- Pick URL or HTML entity, then Encode or Decode.
- Type or paste your text — the result updates live.
- Copy the result. Nothing is uploaded at any point.
URL percent-encoding
URLs may only contain a limited set of characters. Percent-encoding replaces everything else with % plus the character's hex bytes (for example a space becomes %20). Use Component (encodeURIComponent) for a single query value, and Full URL (encodeURI) when encoding an entire address where :, /, ? and & must be preserved.
HTML entity escaping
In HTML, characters like <, >, & and quotes have special meaning. Escaping them to entities such as < lets you display them as literal text instead of markup — essential for preventing broken pages and cross-site scripting.
Is my data private?
Yes. All encoding and decoding happen in your browser tab. Decoded HTML is shown as inert text and never inserted into the live page, so nothing you paste can run. Nothing is uploaded, and the tool works offline once loaded.