# URL Encoder & Decoder

> Percent-encode text for safe use in URLs, and decode encoded URLs back to readable text.

To URL-encode text, paste it above and unsafe characters are replaced with percent-escaped equivalents. Component mode also escapes reserved characters such as slashes and ampersands, which is what you need when placing a value inside a query string.

**URL:** https://convertto.tech/t/url-encode-decode
**Category:** Encoders & Decoders (https://convertto.tech/c/encoding-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your text or url.
2. Choose the direction.
3. Turn "Encode component" on or off as needed.
4. The result appears immediately — copy or download it.

## FAQ

### When should I use component encoding?

Use it for individual values inside a URL — a search term or a redirect target. Use full-URL encoding when you have a complete URL and want to keep its structure intact.

## Sources

- [RFC 3986 §2.1 - Percent-Encoding](https://www.rfc-editor.org/rfc/rfc3986#section-2.1) — IETF

## Related tools

- [URL Parser](https://convertto.tech/t/url-parser): Break a URL into protocol, host, path, query parameters and fragment.
- [Query String to JSON Converter](https://convertto.tech/t/query-string-converter): Convert URL query strings to JSON and build query strings from JSON objects.
- [URL Builder](https://convertto.tech/t/url-builder): Compose a URL from its parts with correctly percent-encoded query parameters.
- [Base32 Encoder & Decoder](https://convertto.tech/t/base32-encode-decode): Encode and decode Base32 (RFC 4648) — used by TOTP secrets and case-insensitive identifiers.
- [Base58 Encoder & Decoder](https://convertto.tech/t/base58-encode-decode): Encode and decode Base58 — the Bitcoin alphabet that omits look-alike characters.
- [Base64 Encoder & Decoder](https://convertto.tech/t/base64-encode-decode): Encode and decode Base64 with automatic direction detection, plus file and data-URI support.
- [Binary to Text Converter](https://convertto.tech/t/binary-to-text): Translate text into binary ones and zeros, and decode binary back into readable text.
- [Data URI Generator](https://convertto.tech/t/data-uri-generator): Turn text, SVG or CSS into a data: URI you can inline directly in HTML or stylesheets.
