Skip to content

Bộ mã hóa & Crypto

Mã hóa / Giải mã URL

Công cụ mã hóa & giải mã URL miễn phí. Mã hóa phần trăm các ký tự đặc biệt cho URL hoặc giải mã các chuỗi đã mã hóa phần trăm. Chạy trong trình duyệt của bạn, không cần đăng ký.

Runs in your browser

Ghi chú của biên tập viên

Understanding · Percent signs, with a purpose.

Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.

Các câu hỏi thường gặp

Quick answers.

What's the difference between encodeURI and encodeURIComponent?

encodeURIComponent escapes more characters (like / and ?), making it safe for query string values. We use it by default — the right choice for most cases.

When do I need URL encoding?

Any time you put special characters (spaces, &, ?, #, accented letters) in a URL — query strings, path segments, fragments, anywhere.

Are spaces encoded as %20 or +?

Both work. We use %20 by default (RFC 3986). + is only safe in query strings and is form-encoding, not URL-encoding.

Is my input sent anywhere?

No — runs entirely in your browser.

Is the tool free?

Yes — fully free, no signup.

Mọi người cũng tìm kiếm

Use with

What people reach for next.

Công cụ liên quan

More in this room.

Xem tất cả trong Bộ mã hóa & Crypto