Skip to content

ตัวเข้ารหัสและ Crypto

การเข้ารหัส / ถอดรหัส URL

ตัวเข้ารหัสและถอดรหัส URL ฟรี เข้ารหัสอักขระพิเศษสำหรับ URL ด้วยเปอร์เซ็นต์ หรือถอดรหัสสตริงที่เข้ารหัสด้วยเปอร์เซ็นต์ ทำงานในเบราว์เซอร์ของคุณ ไม่ต้องลงทะเบียน

Runs in your browser

หมายเหตุจากบรรณาธิการ

Understanding · Percent signs, with a purpose.

บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล

คำถามที่พบบ่อย

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.

ผู้คนยังค้นหา

Use with

What people reach for next.

เครื่องมือที่เกี่ยวข้อง

More in this room.

ดูทั้งหมดใน ตัวเข้ารหัสและ Crypto