URL Encoder and Decoder
Paste text to percent-encode it for a URL, escape a full link while keeping its structure, or decode an encoded string back to plain text. Everything runs in your browser.
How to encode or decode a URL
- Paste your text or URL into the box.
- Pick a mode: Component, Full URL or Decode.
- Copy the encoded or decoded result.
Examples
Encode a query value
name=Ada Lovelace&dept=R&D
name%3DAda%20Lovelace%26dept%3DR%26D
Decode an encoded value
caf%C3%A9%20%26%20cr%C3%A8me
café & crème
Frequently asked questions
What is the difference between Component and Full URL?
Component uses encodeURIComponent and escapes reserved characters like / ? : & = so a value is safe inside a query string. Full URL uses encodeURI and leaves those structural characters intact so a whole link still works.
When should I use Component mode?
Use Component for a single piece of data going into a URL, such as a query parameter value, a path segment or a form field, where every reserved character must be escaped.
Why does decoding fail with an error?
Decoding throws when the input contains a malformed percent escape, for example a stray % or an incomplete byte sequence like %E0%A4%A. Fix or remove the broken escape and try again.
Does a space become %20 or a plus sign?
This tool produces %20 for spaces, which is correct for paths and is also accepted in query strings. The plus sign is only used by the older application/x-www-form-urlencoded form encoding.
Is my text private?
Yes. All encoding and decoding happens locally in your browser and nothing is uploaded.
Related tools
JSON to CSV
Convert JSON to CSV online. Paste an array of objects and get clean, spreadsheet-ready CSV with the right headers. Runs in your browser.
Slugify
Turn any title into a clean, SEO-friendly URL slug. Lowercases, strips accents, swaps spaces and symbols for hyphens, and trims neatly. Free and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base32 Encode
Base32 encode and decode text online using the standard RFC 4648 alphabet with proper padding. UTF-8 safe, fast and private in your browser.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.