URL Encode / Decode
Percent-encode or decode URLs and query strings.
100% in your browser — nothing uploadedEncode or decode a URL online
About this URL encoder and decoder
URLs can only contain a limited set of characters, so spaces, accents, ampersands, and symbols must be percent-encoded (a space becomes %20, ñ becomes %C3%B1). This tool converts both directions instantly as you type.
It offers two modes: component mode (encodeURIComponent) for encoding individual query-string values, and full-URL mode (encodeURI) which preserves structural characters like :, /, ?, and &. Component mode is what you want 90% of the time.
FAQ
When should I use component vs full-URL mode?
Use component mode for a single value going into a query string. Use full-URL mode when encoding an entire URL whose slashes and question marks must stay intact.
Why does my decoded text show weird characters?
The text was probably double-encoded. Decode it a second time.
Does + mean a space?
In query strings, historically yes. This tool decodes + as a space when decoding, and encodes spaces as %20.