DevDesk

DEVDESK / GUIDE

URL Encoder / Decoder — Usage guide

Percent-encode or decode one URL component. This converts text; it does not preserve or normalize a complete URL.

How to use it

  1. Enter the component to encode or decode.
  2. Choose the conversion direction.
  3. Copy the result into the appropriate part of your URL.

Input and output examples

Example 1

Input

name=Dev Desk&lang=en

Output

name%3DDev%20Desk%26lang%3Den

Example 2

Input

hello world

Output

hello%20world

Frequently asked questions

Does it encode a complete URL?

No. It converts a component such as a path fragment or query value. Separators are encoded if you enter a whole URL.

Are spaces converted to plus signs?

Component encoding represents spaces as %20. Form encoding uses a different plus-sign convention.

What happens to malformed percent escapes?

The decoder reports an error and keeps the original input intact.