Text & Code
URL Encoder / Decoder
Encode and decode URLs with percent-encoding. Parse URLs into components.
Your files stay on your device - processed locally via WebAssembly, never uploaded
Encoding Mode
🔒 All encoding and decoding happens in your browser. Nothing is sent anywhere.
Embed this tool on your website
Copy this code to add the URL Encoder / Decoder to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/url-encoder" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="URL Encoder / Decoder by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/url-encoder">OptiPix URL Encoder / Decoder</a></p>
❤️ Love this tool? Support our team.
No ads, no tracking, no limits. Tips keep 104 tools free for everyone.
Secure payment via Stripe · No account needed
About URL Encoder / Decoder
Last updated: May 2026
OptiPix URL Encoder/Decoder แปลงข้อความระหว่างรูปแบบที่มนุษย์อ่านได้และรูปแบบ URL ที่เข้ารหัสแบบเปอร์เซ็นต์ ใช้ encodeURIComponent (ค่าเริ่มต้น), encodeURI หรือโหมดการเข้ารหัสแบบเปอร์เซ็นต์เต็มรูปแบบ สลับโหมดสดเพื่อแปลงอัตโนมัติขณะที่คุณพิมพ์ ตัวแยกวิเคราะห์ URL ในตัวจะแยก URL ใดๆ ออกเป็นส่วนประกอบต่างๆ - โปรโตคอล, โฮสต์, พอร์ต, พาธ, พารามิเตอร์คิวรี และส่วนย่อย - ทำให้ง่ายต่อการตรวจสอบและแก้ไขข้อบกพร่อง URL คัดลอกข้อความที่เข้ารหัสหรือถอดรหัสได้ด้วยการคลิกเพียงครั้งเดียว เหมาะสำหรับนักพัฒนาเว็บที่ทำงานกับสตริงคิวรี การรวม API และการแก้ไขข้อบกพร่อง URL ทุกอย่างทำงานในเบราว์เซอร์ของคุณ - ไม่มีข้อมูลใดถูกส่งไปยังเซิร์ฟเวอร์ใดๆ
How It Works
เครื่องมือนี้ใช้ฟังก์ชัน encodeURIComponent(), encodeURI() และ decodeURIComponent() ในตัวของ JavaScript สำหรับการเข้ารหัส/ถอดรหัสมาตรฐาน ตัวแยกวิเคราะห์ URL ใช้ตัวสร้าง URL เพื่อแยก URL ออกเป็นส่วนประกอบ RFC 3986
Use Cases
- •เข้ารหัสพารามิเตอร์คิวรีสำหรับคำขอ API
- •ถอดรหัส URL ที่เข้ารหัสแบบเปอร์เซ็นต์เพื่อการแก้ไขข้อบกพร่อง
- •แยกวิเคราะห์ URL ที่ซับซ้อนเพื่อตรวจสอบส่วนประกอบแต่ละส่วน
- •เตรียมข้อความสำหรับการรวมอย่างปลอดภัยในพาธ URL
- •แก้ไขข้อบกพร่องสตริงคิวรี URL ที่มีอักขระพิเศษ
You Might Also Like
If you find URL Encoder / Decoder useful, check out these related tools: HTML Entity Encoder / Decoder, Base64 Text Encoder / Decoder, and Hash Generator. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools
Frequently Asked Questions
การเข้ารหัส URL คืออะไร?
มีโหมดการเข้ารหัสใดบ้าง?
ฉันสามารถแยกวิเคราะห์ URL ออกเป็นส่วนประกอบได้หรือไม่?
ข้อมูลของฉันถูกส่งไปยังเซิร์ฟเวอร์หรือไม่?
มันจัดการกับอักขระสากลหรือไม่?
Related Tools
HTML Entity Encoder / Decoder
Encode and decode HTML entities. Four encoding modes plus a searchable reference table of 100+ common entities.
Base64 Text Encoder / Decoder
Encode text to Base64 and decode Base64 back to text. URL-safe mode available.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files.
รูปภาพเป็น Base64
เข้ารหัสรูปภาพเป็น Base64 / Data URI และถอดรหัส Base64 กลับเป็นรูปภาพ – ทันทีในเบราว์เซอร์ของคุณ