URL Encoder & Decoder — Percent-Encode URLs & Query Strings
Encode and decode URLs and query string parameters. Percent-encoding for safe transmission.
Cách dùng
- 1 Pick Encode or Decode mode.
- 2 Choose Component for query params, or Full URL for entire URLs.
- 3 Paste your input and copy the result.
Vì sao dùng công cụ này
- Two variants — encodeURIComponent for individual params, encodeURI for full URLs.
- Real-time bidirectional — switch modes and swap input/output in one click.
- Runs in your browser — your URLs stay private.
- Free, no signup, no ads.
Câu hỏi thường gặp
When should I use encodeURIComponent vs encodeURI?
Use encodeURIComponent for query string values and path segments (encodes / ? & = #). Use encodeURI for an entire URL string when you want to preserve those structural characters.
Does this support special characters?
Yes — full Unicode support. Emoji, CJK, Arabic, and combining characters are all encoded correctly.
Why does my decode fail?
Invalid percent-encoding (e.g. "%XY" where XY isn't valid hex) throws a URIError. Check that every "%" is followed by exactly 2 hex digits.
URL Encoder & Decoder là gì?
A URL Encoder & Decoder is a tool that converts text and query-string parameters to and from percent-encoded form, replacing reserved or unsafe characters with %-prefixed escape sequences so values transmit safely within a URL. It also reverses the process to recover the original text. It runs entirely in the browser, keeping the input on the user's device.
URL Encoder & Decoder so với các lựa chọn khác
| Tính năng | Zerethon Tools | Công cụ trực tuyến thường gặp | Ứng dụng máy tính |
|---|---|---|---|
| Signup required | No | Sometimes | No |
| Data leaves device | No | Yes | No |
| Encode + decode | Both | Both | Both |
| Component vs full-URL mode | Yes | Sometimes | Sometimes |
| Free | Yes | Yes (with ads) | Sometimes paid |
| Works offline | Yes (after load) | No | Yes |
URL Encoder & Decoder là công cụ lập trình miễn phí của Zerethon Tools. Encode and decode URLs and query string parameters. Percent-encoding for safe transmission. Chạy hoàn toàn trong trình duyệt — không đăng ký, không tải lên.
- Danh mục
- Lập trình
- Giá
- Miễn phí
- Quyền riêng tư
- Chạy trên trình duyệt
- Đăng ký
- Không cần
Quyền riêng tư
Dữ liệu của bạn không bao giờ rời khỏi trình duyệt trừ khi được nêu rõ. URL Encoder & Decoder chạy hoàn toàn phía client — không tải lên máy chủ, không ghi log, không theo dõi dữ liệu bạn nhập.
So sánh
Kiến thức cơ bản
Hướng dẫn
Công cụ liên quan
URL Parser
Break a URL into scheme, credentials, host, port, path, query and hash. Percent-decoded query parameters in a live table.
Mở công cụJSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Mở công cụSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Mở công cụUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Mở công cụBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.