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.

FluffyShield Protected workspace
From
To

Convert to

Choose text conversion

FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How do I put text into a link, or read one?

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.

The job at a glance
  1. Choose From for the text you have and To for what you need
  2. Paste the text; short text updates as you type
  3. Check the result and copy it

What it does

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.

Which From and To choice fits your text?

FluffyBench's URL encoder has one From and To pair for each of these jobs. Find the line that describes your text.

A name or phrase to put in a linkComponent → URL-encodedText with percent codes, like %20URL-encoded → ComponentA complete web address to inspectURL → PartsA domain with letters like üUnicode domain → PunycodeA domain that starts with xn--Punycode → Unicode domain

Five jobs, five pairs

Pick From for the text you have; To then offers what it can become. How we measured

Doing it in FluffyBench: put a name or phrase into a link

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.

  1. Choose From: Component, the one value you have, and To: URL-encoded, the link-safe spelling.

  2. Paste only the value, here freshman notes + HR. The result updates as you type; on a phone, open Result.

  3. Check the result under URL-encoded and the character count: freshman%20notes%20%2B%20HR. Spaces became %20 and the plus sign became %2B.

    The result freshman%20notes%20%2B%20HR outlined under the URL-encoded label and character count, with Copy and Download.
    The result freshman%20notes%20%2B%20HR outlined under the URL-encoded label and character count, with Copy and Download.
  4. Take the result to another app with Copy, which puts it on your clipboard, or save it as a text file with Download.

Once you've copied the result, paste it into its slot in the link and leave the address around it alone.

The address: leave it as typedhttps://example.com/search?q=Your encoded value: paste it after q=freshman%20notes%20%2B%20HRThe finished linkhttps://example.com/search?q=freshman%20notes%20%2B%20HR

Value in its slot

Encode only the value. Put a whole address through Component → URL-encoded and its punctuation gets encoded too: https: becomes https%3A, and the link stops working.

Need to check the paths in a robots.txt file for mistakes?

Doing it in FluffyBench: turn percent codes back into text

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.

  1. Choose From: URL-encoded, the text with percent codes, and To: Component, the readable value.

  2. Paste the encoded text, here caf%C3%A9+tag. On a phone, open Result.

  3. Check the result under Component and the character count: café+tag. %C3%A9 became é, and the plus sign stayed a plus sign.

    The result café+tag outlined under the Component label and character count.
    The result café+tag outlined under the Component label and character count.

Web forms sometimes write a space as a plus sign, so the same + can mean two things depending on where you read it.

URL-encoded → Componenta+ba+bThe plus sign stays a plus sign.URL → Parts, query valueq=a+ba bThe plus sign is read as a space.

One plus, two readings

If the text came from a form's address, paste the whole address into URL → Parts, or a single value into Form value → Component, to read plus signs as spaces.

Doing it in FluffyBench: inspect a complete web address

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.

  1. Choose From: URL, a complete web address, and To: Parts, one line per piece.

  2. Paste the whole address, here https://example.com:8443/a%20b?tag=one&tag=two&name=caf%C3%A9#section, starting with https://, then open Result on a phone.

The Parts report for that address. The query line keeps the percent codes as typed, while queryPairs decodes them, so name comes out as café.

scheme"https"username""password""host"example.com"port"8443"path"/a%20b"query"tag=one&tag=two&name=caf%C3%A9"fragment"section"queryPairs["tag", "one"]["tag", "two"]["name", "café"]

The Parts report

Each piece gets its own line: host example.com, port 8443, path /a%20b, then the query. Under queryPairs, tag appears twice. If username or password isn't empty, the link carries sign-in details; remove them before you share it. Copy copies the whole report.

Doing it in FluffyBench: convert an international domain name

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.

  1. Choose From: Unicode domain, the readable spelling, and To: Punycode, the plain-letter spelling.

  2. Paste the domain only, here bücher.example, without https://, a path or a port. On a phone, open Result.

  3. Check the result under Punycode and the character count: bücher.example is written xn--bcher-kva.example in Punycode.

    The result xn--bcher-kva.example outlined under the Punycode label and character count.
    The result xn--bcher-kva.example outlined under the Punycode label and character count.

To go the other way, choose From: Punycode and To: Unicode domain.

  1. Choose From: Punycode, a name starting xn--, and To: Unicode domain, the readable spelling.

  2. Paste the name, then check the result under Unicode domain and the character count: xn--bcher-kva.example reads as bücher.example.

    The result bücher.example outlined under the Unicode domain label and character count.
    The result bücher.example outlined under the Unicode domain label and character count.

When FluffyBench's URL encoder shows a problem

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.

  1. %Q0 isn't a valid percent code, so FluffyBench names the problem instead of giving a half-decoded result: 1 problem, and the text can't be decoded yet. Fix the percent code it names, or remove the percent sign.

    Input holding %Q0 with a 1 problem badge, and the Problems row saying a percent sign needs two hexadecimal digits, outlined.
    Input holding %Q0 with a 1 problem badge, and the Problems row saying a percent sign needs two hexadecimal digits, outlined.

URL → Parts says “Invalid absolute URL”

Inspect a complete web address

Add the scheme at the start, such as https://. The parser reads complete addresses only.

Domain conversion asks for a domain name only

Convert an international domain name

Remove https://, any path, port or sign-in details. From a whole address, copy the host line from URL → Parts.

Your text is going into JSON or HTML, not a link

FluffyBench's Text escaper

Each of those formats has its own escaping rules, and percent codes don't apply there.

Search FluffyBench