Home / Tools / URL encoder and decoder

URL Encode and Decode Online: Percent Encoding

Encode text for use in a URL or decode percent-encoded text such as %20 and %26.

Choose Encode to turn spaces and special characters into percent codes, or Decode to turn them back. Use "whole URL" for a full address and "part" for a single value such as a query parameter.

Frequently asked questions

What is the difference between part and whole URL?
A single value (a query parameter) must have characters like ? & = / encoded. A whole address must keep them so it still works.
Why do spaces become %20 or +?
%20 is the standard percent code for a space. A plus sign stands for a space only in form data and query strings.
Why does decoding fail?
A % must be followed by two hex digits. A lone % or a broken code makes the text invalid.

Runs in your browser. Nothing you type is sent to this site. Updated 2026-10-11.

More tools

Code formatters

CSS beautifier CSS minifier HTML beautifier HTML minifier JavaScript beautifier JavaScript minifier JSON formatter YAML formatter XML formatter SQL formatter Markdown preview

Converters

Base64 encoder and decoder Unix timestamp converter CSV to JSON JSON to CSV HTML entity encoder and decoder Number base converter Time zone converter JSON to TypeScript XML to JSON HTML to Markdown Date difference calculator

Text tools

Regex tester Remove duplicate lines Lorem ipsum generator Word counter Case converter Text diff checker

Color and images

Color converter Contrast checker Image to Base64 Image resizer

Network

Subnet calculator Download time calculator Common ports list CIDR to IP range IPv6 address expander and compressor MAC address formatter curl command builder

Server and files

Cron expression explainer chmod calculator HTTP status codes

Encoding and security

Password generator UUID generator Hash generator JWT decoder QR code generator Password strength checker Wi-Fi QR code generator