# URL Encoder

Percent-encode and decode URL components.

## URL

https://ilham.dev/tools/url-encoder/

## What It Does

Percent-encode and decode URL components, either the whole string or one component at a time. The distinction matters more than it looks: encoding a full URL turns its own ? and & into data, which is usually not what you want.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Should I encode the whole URL or just a parameter?




## Questions

### Should I encode the whole URL or just a parameter?

Usually only the parameter value. This tool encodes its entire input as one component; it has no separate whole-URL mode. To build a URL, encode a value first, then add it after the parameter name.

