katlab tools/url-encode

URL & HTML Entity · Encode / Decode

Percent-encode or decode URLs and escape or unescape HTML entities — all in your browser.

Everything is processed locally. Nothing is uploaded to a server.
variant
Input
Result

    

How to encode or decode (free)

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 &lt; 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.