Web ToolBox

URL Encode/Decode

Convert and restore URL special characters to safe formats

Conversion type
Read-only

What is URL Encode and Decode Tool?

A tool that converts characters unsafe for URLs into encoded format or decodes them back to the original text. Handles Japanese, special characters, and other non-URL-friendly content.

Enter text and instantly see the encoded or decoded result.

How to Use

Paste or type text into the input area. Select the "Encode" or "Decode" tab to see the corresponding result automatically.

Options

Convert per line - Useful for processing multiple URLs at once

  • On: Converts each line individually, preserving line breaks
  • Off: Converts entire text as one block

Use the copy button in the result area to copy the converted text to your clipboard.

Use Cases

  • Create URL parameters - Properly encode search queries and parameters containing non-ASCII characters
  • API development and testing - Verify and debug request URLs
  • Decode received URLs - Convert encoded URLs to human-readable format

Encoding Example

Input: Hello World
Output: Hello%20World

Important Notes

  • Space handling: Standard URL encoding converts spaces to %20 (not +)
  • Reserved characters: Characters like ?, &, = that are part of URL structure are also encoded
  • Safe characters: Letters, numbers, -, _, ., ~ are not encoded

Why URL Encoding is Necessary

URLs have restrictions on which characters can be used. Only certain ASCII characters are allowed, so when including non-ASCII characters, special symbols, or spaces, they must be converted to percent-encoding format.

For example, when searching for "Tokyo travel" on a search engine, the actual URL becomes:

Before: https://example.com/search?q=Tokyo travel
After: https://example.com/search?q=Tokyo%20travel