RunToolz iconRunToolz
Welcome to RunToolz!

URL Encoder/Decoder

Encode special characters for URLs or decode URL-encoded strings.

Result

How to use

  1. Select Encode or Decode tab
  2. Enter your URL or encoded URL in the input area
  3. Click the button to convert
  4. Copy the result or use swap button to reverse

Uses encodeURIComponent for complete character encoding

What is URL Encoding?

URL encoding converts characters into a format that can be safely transmitted over the Internet. Special characters are replaced with a '%' followed by their hexadecimal value. This is essential for including special characters in URLs, form data, and query parameters.

How It Works

Each character that needs encoding is converted to its UTF-8 byte sequence, then each byte is represented as %XX where XX is the hexadecimal value. For example, space becomes %20, and '&' becomes %26.

Common Encodings

space=%20 &=%26 ?=%3F #=%23 /=%2F

Common Use Cases

Query Parameters

Encoding values in URL query strings

Form Data

Encoding form submissions via GET/POST

API Requests

Safe transmission of API parameters

Search Queries

Encoding search terms in URLs

Email Links

mailto: links with special characters

Security

Preventing injection attacks

Frequently Asked Questions