Conversion Tools100% Client-Side

UTF-8 Percent Encoder

Paste a piece of text, such as a search term, to encode it as a single URI component. Characters that need escaping appear as a percent sign followed by two hexadecimal digits per byte. Accented letters and emoji can produce several escapes because they occupy several UTF-8 bytes. Letters and digits generally remain readable, making it easy to spot the characters that changed.

Input
10 chars•1 lines
Output

Reverse tool

UTF-8 Percent Decoder for URI Components

Decode percent-encoded URI components into UTF-8 text. Recover spaces, reserved punctuation, accents, and emoji from copied URL values or fixtures.

Open UTF-8 Percent Decoder for URI Components
Example input
caf%C3%A9%20%26%20tea
Example output
café & tea

How to Use the UTF-8 Percent Encoder for URI Components

  1. 1Paste the value you want to send as one query parameter or path segment.
  2. 2Check that characters such as spaces and ampersands appear as escapes in the output.
  3. 3Copy the result into the surrounding URL structure after choosing the query key or path position.
  4. 4Use UTF-8 Percent Decode on the encoded value to confirm that it yields the intended text.

Input & Output Examples

Both spaces and the ampersand are escaped, keeping the entire phrase in one component.

Input Sample
red & blue
Expected Output
red%20%26%20blue

The accent-bearing character and coffee symbol occupy two and three bytes respectively, each represented by its own escapes.

Input Sample
café ☕
Expected Output
caf%C3%A9%20%E2%98%95

Practical Developer Workflows

  • Prepare a query value that contains a literal ampersand so it stays part of that value.
  • Build a test input for an application that reads filenames with accents from a URL path segment.
  • Compare raw and encoded values in logs when tracing how a search field reaches an application.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

A space becomes %20. A literal plus becomes %2B. This tool uses URI component encoding, so the representation differs from form serializers that use a plus sign to write a space in a query value.

Explore Other Tools

12 suggested tools

View all tools