DevBits
Home / URL Encode and Decode

URL Encoder and Decoder

Paste text and choose encode or decode.

Why encode URLs

URLs may only contain a limited set of characters. Spaces, ampersands and non-ASCII letters must be percent encoded, such as %20 for a space.

Tip

Encode only the value of a query parameter, not the whole URL, or you will break the slashes and colons.

Frequently asked questions

What does %20 mean?

A space.

What is the difference between encodeURI and encodeURIComponent?

The second also encodes reserved characters like / ? & =.

Is it safe for secrets?

It runs locally, but do not paste secrets into untrusted sites.

More free tools

JSON Formatter

Format, validate and minify JSON.

Base64 Encode and Decode

Convert text to Base64 and back.

UUID Generator

Generate random version 4 UUIDs.

Unix Timestamp Converter

Convert epoch seconds to dates and back.

Last updated 2026-11-27. Tools run locally. Check results before using them in production.