URL encoder and decoder, URL parser and Punycode domains
URL encode/decode a query value, parse a complete URL into its parts, or convert Unicode domain names to Punycode and back.
URL encode/decode a query value, parse a complete URL into its parts, or convert Unicode domain names to Punycode and back.
Need to put a name with spaces into a link, or turn %20 back into readable text? FluffyBench's URL encoder can encode one value, decode it, show a complete web address piece by piece, or switch a domain name between its two spellings.
Limits FluffyBench's URL encoder only rewrites the text you give it. It doesn't open the address, look up the domain or tell you whether a site is safe.
FluffyBench's URL encoder has one From and To pair for each of these jobs. Find the line that describes your text.
Five URL jobs and their From and To choices
Think of a web address as a labeled envelope: its punctuation, such as / ? = and &, marks where each part starts, and your value is the note tucked into one part. Encoding rewrites anything in the note that could pass for punctuation as a percent sign and two characters, so a space becomes %20. Each pair stands for one byte, so é, which takes two bytes, becomes %C3%A9.
Here's how to encode freshman notes + HR with FluffyBench's URL encoder, from choosing the pair to copying the result.
Once you've copied the result, paste it into its slot in the link and leave the address around it alone.
Where an encoded value goes in a link
Decoding is the same swap in reverse. Choose From: URL-encoded and To: Component, and each percent pair turns back into the character it stood for.
Web forms sometimes write a space as a plus sign, so the same + can mean two things depending on where you read it.
A plus sign read two ways
Before you use or share a long link, it helps to see what's in it. URL → Parts lays the address out like the envelope's labeled boxes: the scheme says what kind of address it is, the host names the site, a port can follow the host, the path points to a page, the query after ? carries extra values, and the fragment after # points to a spot on the page.
Here's how to split a complete address into its pieces with FluffyBench's URL encoder.
The Parts report for that address, shown on a wider screen. The query line keeps the percent codes as typed, while queryPairs decodes them, so name comes out as café.
Some domain names use letters outside plain English, like the ü in bücher.example. Those names also have a plain-letter spelling called Punycode, which starts with xn--. It's a second spelling of the same name, not a translation, and some forms and settings screens ask for it.
Here's bücher.example converted to Punycode in FluffyBench's URL encoder.
To go the other way, choose From: Punycode and To: Unicode domain.
A percent sign has to be followed by two valid characters. When it isn't, FluffyBench's URL encoder marks the spot and explains it.
Add the scheme at the start, such as https://. The parser reads complete addresses only.
Remove https://, any path, port or sign-in details. From a whole address, copy the host line from URL → Parts.
Each of those formats has its own escaping rules, and percent codes don't apply there.