Encode or decode
Convert text into safe percent-encoding for links and query strings, or decode an encoded URL back into readable text.
Encode or decode
Web addresses can only safely contain a limited set of characters. Spaces, accents, ampersands, question marks and symbols all have special meaning or are not allowed, so they must be converted into percent-encoding — the %20 style sequences you see in long links. This tool converts text into that format and back again.
Building query strings by hand, passing search terms or names through a link, adding UTM tracking parameters that contain spaces, sending values to an API, or debugging why a link breaks halfway through. Decoding is just as handy: paste an ugly encoded URL and instantly read what it actually says.
Encoding uses standard component encoding, so reserved characters such as &, =, ? and / are escaped — the right behaviour when you are encoding a single value to drop into a query string. Decoding also converts + back into a space, which is how many older forms encode spaces. If the text is not valid encoded data, you get a clear message rather than a broken result.
Why did my whole URL get escaped? Encoding treats the input as a single value. Encode just the parameter, not the entire address. Is my data private? Yes — everything runs in your browser.
Also handy: the text to slug converter for clean URLs, and the JSON formatter for API payloads.