เข้ารหัส/ถอดรหัส URL
เข้ารหัสและถอดรหัสส่วนประกอบ URL และ query strings
Client-side only — uses native browser encodeURIComponent / decodeURIComponent (RFC 3986). Your data never leaves the browser.
URL Encoder & Decoder
Encode special characters in URLs (percent-encoding) or decode percent-encoded strings back to readable text. Essential for query parameters, API endpoints, and web scraping.
FAQ
What is URL encoding?
URL encoding replaces unsafe ASCII characters with % followed by two hex digits. A space becomes %20, & becomes %26.
When do I need to URL encode?
When passing special characters in query parameters or form data. Unencoded characters like #, &, and = break the URL.
encodeURI vs encodeURIComponent?
encodeURI encodes a full URL and leaves /, ?, # intact. encodeURIComponent encodes a single value and escapes those characters too — use it for query string values.
สำรวจต่อ
เครื่องมือนักพัฒนา อื่นๆ ที่คุณอาจชอบ...
จัดรูปแบบ JSON
จัดรูปแบบ ตรวจสอบ และย่อข้อมูล JSON พร้อม syntax highlighting
เข้ารหัส/ถอดรหัส Base64
เข้ารหัสข้อความเป็น Base64 และถอดรหัสสตริง Base64
สร้าง UUID
สร้างตัวระบุ UUID v4 แบบสุ่ม
สร้าง Hash
สร้างแฮช MD5, SHA-1, SHA-256 และ SHA-512 จากข้อความ
ทดสอบ Regex
ทดสอบและดีบัก regular expressions พร้อมไฮไลท์การจับคู่
ถอดรหัส JWT
ถอดรหัสและตรวจสอบ header และ payload ของ JWT token
จัดรูปแบบ HTML
จัดรูปแบบโค้ด HTML พร้อมการเยื้องที่เหมาะสม
ย่อ CSS
ย่อโค้ด CSS โดยลบช่องว่างและ comments