URL Encoder / Decoder

Safely encode or decode URLs and query parameters using percent-encoding.

About URL Encoding

URL encoding converts characters into a format that can be transmitted over the Internet using percent-encoding. It is commonly used for query parameters and path segments. All processing happens in your browser.

ℹ️

About this URL Encoder/Decoder

Encode or decode URL components with percent-encoding (e.g. space to %20). Essential for query strings, form data, and APIs. All processing in your browser.

Key Features

Encode text for URLs

Decode percent-encoded URLs

Handle spaces, symbols, Unicode

Copy result

Works in your browser

📖

How to Use

1

Enter text to encode or URL/string to decode

2

Click Encode or Decode

3

Copy result into your URL or code

💡

Popular Use Cases

1

Build query strings

2

Encode form data

3

Decode URLs from logs or APIs

4

OAuth or API parameters

💡

Tips & Best Practices

Spaces: %20 or + in query strings. Encode only the parts that need it.

Decoding twice is usually safe; encoding twice can over-encode.

Frequently Asked Questions

Q

What is percent-encoding?

Unsafe characters are replaced with % plus two hex digits (e.g. space becomes %20).

Q

When should I encode?

When building URLs with user input, query parameters, or non-ASCII. Decode when reading URLs to get original text.

Q

%20 or + for space?

In query strings both are valid. + is common in form encoding. In path segments use %20.