URL Encoder / Decoder
Encode & decode URLs
URL encoding replaces unsafe or reserved characters (spaces, &, ?, non-ASCII) with a % and their hex code — so a space becomes %20. Paste text below to percent-encode it for a URL, or decode an encoded string back. It runs entirely in your browser.
Frequently asked questions
What is URL encoding?
Percent-encoding replaces unsafe/reserved URL characters with
% + hex, e.g. a space becomes %20 — keeping URLs valid and unambiguous.When do I need to encode a value?
Any value in a query string, path, or form field that may contain spaces, punctuation, or non-ASCII — search terms, emails, JSON — so it parses correctly.
Is my text uploaded?
No — encoding and decoding run entirely in your browser.