Skip to main content
Z

URL Encoder & Decoder — Percent-Encode URLs & Query Strings

Encode and decode URLs and query string parameters. Percent-encoding for safe transmission.

Miễn phí Không cần đăng ký Chạy trên trình duyệt Tôn trọng riêng tư Updated

Cách dùng

  1. 1 Pick Encode or Decode mode.
  2. 2 Choose Component for query params, or Full URL for entire URLs.
  3. 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

URL Encoder & Decoder so với các công cụ trình duyệt và máy tính thông thường — so sánh nhanh các tính năng.
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
Tóm tắt

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

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free