URL Encoder / Decoder

Encode and decode URL components online. Convert special characters into URL-safe text and decode percent-encoded strings instantly.

URL Encoder / Decoder

Free tool

Convert special characters to percent-encoded text or restore encoded strings to their original form.

Instant conversionNo API required

Input characters

0

Characters in your input

Input size

0 B

UTF-8 encoded bytes

Output characters

0

Characters in your result

Conversion workspace

Enter text, choose an operation, and copy the result.

Input text

Text or URL component

Editable
Loading editor...
0 lines0 characters

Output

Converted result

Read only

Your result will appear here

Enter text on the left and select Encode or Decode to generate your result.

0 lines0 characters

What is URL encoding?

URL encoding, also called percent encoding, represents characters using a percent sign followed by hexadecimal digits. It is useful when passing values containing spaces or reserved characters in URLs.

When should you use it?

  • Encoding query parameter values in API requests.
  • Decoding percent-encoded text when debugging URLs.
  • Preparing search terms containing spaces or symbols.
  • Inspecting values passed between web applications.

Example

Original text

hello world & React

Encoded text

hello%20world%20%26%20React

This tool uses the browser's encodeURIComponent and decodeURIComponent functions. Encoding is applied to a component or text value, not to an entire URL with its structural separators.