URL Encoder / Decoder

URL หรือ URI ทั่วไปแล้วจะถูกจำกัดให้ใช้ได้เพียงตัวอักษรและตัวเลข [0-9 a-z A-Z] รวมถึงอักขระพิเศษอีกบางส่วน นอกเหนือจากนั้นจะใช้การเข้ารหัสเป็นเลขฐาน 16 ร่วมกับเครื่องหมาย "%" โดยเรียงลำดับตามตัวอักษรในชุด ISO-8859-1 (ISO-Latin) เช่น ใช้ "%20" แทนการเว้นวรรค

URL Decoder/Encoder


  • Input a string of text and encode or decode it as you like.
  • Handy for turning encoded JavaScript URLs from complete gibberish into readable gibberish.
  • ป้อนตัวอักษรลงในช่องด้านบน แล้วกด encode หรือ encode เพื่อแสดงผลลัพธ์

Unsafe characters
CharacterCode
Points
(Hex)
Code
Points
(Dec)
Why encode?
Space2032 Significant sequences of spaces may be lost in some uses (especially multiple spaces)
Quotation marks
'Less Than' symbol ("<")
'Greater Than' symbol (">")
22
3C
3E
34
60
62
These characters are often used to delimit URLs in plain text.
'Pound' character ("#") 2335 This is used in URLs to indicate where a fragment identifier (bookmarks/anchors in HTML) begins.
Percent character ("%") 2537 This is used to URL encode/escape other characters, so it should itself also be encoded.
Misc. characters:
   Backslash ("\")
   Caret ("^")
   Tilde ("~")
   Left Square Bracket ("[")
   Right Square Bracket ("]")
   Grave Accent ("`")

5C
5E
7E
5B
5D
60

92
94
126
91
93
96
Some systems can possibly modify these characters.

More Info: