All tools · Developer

URL encode / decode

Turn unreadable %E3%81%82-style addresses back into text, or encode text for use in a URL.

Encoded

—

Decoded

—

How to use

  1. Enter a URL or text; the encoded and decoded results appear together.
  2. Turn on "whole URL" to keep the URL structure; leave it off for a single value.
  3. If there is a ?, the query parameters are listed in a table.

Questions

What is the difference between the two modes?

The default (encodeURIComponent) encodes & = ? / too, for values such as search terms. "Whole URL" (encodeURI) keeps the characters that give a URL its structure.

Is + a space?

In form data and many query strings, yes. In a path it can be a literal +, so it is an option.

How is non-ASCII text encoded?

As UTF-8 bytes, each written as %XX; a Korean or Japanese character is usually three bytes.

What about legacy encodings?

Only UTF-8 is decoded for now.

Is my input uploaded?

No. It is converted in your browser.

Related tools

All tools