A sleeping cat.

URL Encoder / Decoder

Encode and decode URLs and URL components for safe use in web addresses, query parameters, and APIs.

Input

Enter a URL or text to encode.

0 chars

Output

Encodeed result

0 chars

URL encoding converts characters that have special meaning in URLs into percent-encoded representations. Everything is processed locally in your browser.

♥

ToolTunnel is free and ad-free

Your support helps us build more tools and improve the ones you already use.

♥Support

Related Tools

More tools you may find useful.

About this tool

URL Encoder / Decoder is a free browser-based tool for encoding and decoding URLs and URL components. It converts characters that have special meaning in URLs into percent-encoded representations and can decode percent-encoded values back into readable text.

What Is URL Encoding?

URL encoding, also called percent encoding, converts characters that cannot safely appear in a URL into a standardized encoded format. Encoded characters are represented using a percent sign followed by two hexadecimal digits.

For example, a space can be represented as %20 when it is encoded for use in a URL.

URL Encoding vs URL Component Encoding

A complete URL and an individual URL component have different encoding requirements. URL encoding preserves characters that are meaningful within a complete URL, while component encoding is designed for individual values such as query parameters.

Use URL component mode when you need to safely encode a value that will be inserted into a query parameter, path segment, or other individual URL component.

When to Use a URL Encoder

  • Encode spaces and special characters before placing text into a URL.
  • Safely encode query parameter values.
  • Prepare user-provided text for use in web addresses and APIs.
  • Decode percent-encoded URLs and query parameters.
  • Inspect encoded values during web development and API troubleshooting.

Is URL Encoding Performed Locally?

Yes. URL encoding and decoding are performed entirely in your browser. The text you enter is not uploaded to ToolTunnel's servers.

This makes the tool useful for quickly encoding or decoding URLs and values while keeping the processing on your device.

Frequently Asked Questions

▶What is URL encoding?

URL encoding, or percent encoding, converts characters that have special meanings or cannot safely appear in a URL into encoded representations such as %20 for a space.

▶What is the difference between URL encoding and component encoding?

URL encoding is intended for complete URLs, while component encoding is intended for individual URL values such as query parameter values. Component encoding escapes a broader set of characters so the value can safely be inserted into a URL.

▶How do I encode a URL?

Enter the URL into the input field, select Encode, and the encoded result will be generated automatically. You can then copy the result.

▶How do I decode a URL?

Select Decode and enter the percent-encoded URL or text. The decoded result will be generated automatically.

▶Does URL encoding change the meaning of a URL?

Proper URL encoding preserves the intended meaning while representing characters in a format that is safe for use in URLs.

▶Is my URL sent to a server?

No. URL encoding and decoding are performed locally in your browser.