Skip to content

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

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

Runs in your browserUpdated Apr 26, 2026

Plain Text

Encoded

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

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.

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