URL Encode Decode | Percent-Encode or Decode Text for URLs
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
| Character | Encoded |
|---|---|
| space | %20 |
| ? | %3F |
| & | %26 |
| = | %3D |
| / | %2F |
| é | %C3%A9 |
edit_note What you need
Have your numbers ready before you start. The form above shows the exact fields required, with units and example values for each. Any blank or out-of-range field is flagged before the result is computed so you never get a misleading answer.
function How it computes
The URL encoder decoder applies the published reference formula and rounds the result to a useful precision. The methodology section below explains each step so you can verify the math.
verified Trusted source
Reference values and constants come from an authoritative source. Every quarter we re-check the source and update the calculator if the published guidance changes. The link is visible in the methodology section so you can verify it yourself.
tips_and_updates Read it like this
Read the headline number first, then open the breakdown card to see how each input contributed. If a result looks off, the breakdown almost always shows which value drove it. Adjust that input and recalculate — the answer updates instantly.
Interpretation guide
| Situation | Action |
|---|---|
| Value going into a query string | Encode it |
| %xx soup from logs/analytics | Decode it |
| Full URL with structure | Encode only the components, not the separators |
lightbulb Worked example
Result: The calculator instantly applies the formula Encode: unsafe byte → %HH (UTF-8, RFC 3986); decode reverses %HH sequences and returns the result with appropriate precision.
What this means: Read the result in the context of what you are measuring. The step-by-step breakdown lets you confirm the math and understand which input most affects the outcome.
Formula & methodology
Formula: Encode: unsafe byte → %HH (UTF-8, RFC 3986); decode reverses %HH sequences
The URL Encode / Decode is built on a well-established calculation method. It uses the formula Encode: unsafe byte → %HH (UTF-8, RFC 3986); decode reverses %HH sequences to turn your inputs into a reliable result. Encodes or decodes text for safe use in URLs. Paste any string with spaces, special characters, or Unicode, and the tool converts it to percent-encoded form per RFC 3986, or reverses an encoded string back to readable The steps are shown on the page so you can follow the reasoning from input to output.
- Choose encode or decode and paste your text.
- Encoding converts every reserved/unsafe character to its UTF-8 percent form (encodeURIComponent semantics); decoding reverses it.
Worked example — live-verified: "hello world?key=value&x=1" → hello%20world%3Fkey%3Dvalue%26x%3D1; decoding returns the original exactly.
Authoritative source: MDN Web Docs
Frequently asked questions
Explore the full developer toolkit
Every CalcaTools developer tool — encoders, formatters, generators, regex, JSON, and API utilities — built for the browser.
- AI Code Explainer | Explain code and suggest fixes
- AI Cron Expression Generator | Translate schedules to cron
- AI Git Commit Generator | Generate Conventional Commit messages
- AI JSON Extractor | Extract structured JSON from text or data
- AI Regex Generator | Build regular expressions from examples
- Bandwidth Calculator | Estimate Transfer Time and Speed
- Hash Generator | Generate MD5, SHA-1, SHA-256, SHA-512 locally
- IP Subnet Calculator | Show Mask, Network, Hosts, and Broadcast
- JSON Formatter | Format, Validate, and Minify JSON Locally
- Schema Markup Generator | Generate JSON-LD structured data
- SERP Preview | Preview Google search title and meta description
- SQL Formatter | Format and Beautify Raw SQL Queries
- Timestamp Converter | Convert Unix Epoch to Readable Dates
- UUID Generator | Generate Secure Version 4 UUIDs Up to 100