URL Encode/Decode

Encode and decode URL. For query strings and API params.

About this tool

This tool encodes and decodes text for URL in one click. Three features: 1) Encode to %XX format, decode to restore, 2) Supports Unicode and special characters, 3) All processing in browser—no data sent to server. Ideal for query strings and API params.

Tool interface

Usage

  1. Enter text in the input field
  2. Click Encode for %XX format or Decode to restore
  3. Use for query strings and API params

When to use

URL query params with Japanese or special chars, building API endpoints, decoding encoded URLs.

Examples

Hello World → Hello%20World, ?q=test+search

FAQ

What is URL encoding?

Converting spaces, Unicode, special chars to %XX for safe use in URLs. Space→%20, etc.

What is percent encoding?

Formal name for URL encoding. % followed by 2 hex digits. Defined in RFC 3986.

How to include Japanese in URLs?

Encode to UTF-8 then %XX. encodeURIComponent() or this tool. Japanese often becomes 3 bytes, e.g. %E3%81%93%E3%82%93...

Difference between + and %20?

+ can mean space in query strings (application/x-www-form-urlencoded). %20 is proper encoding. Both decode to space.

Related tools