ข้ามไปยังเนื้อหาหลัก

เครื่องค้นหารหัสจุด Unicode

เครื่องมือสำหรับนักพัฒนา

อักขระเป็นรหัสจุด U+ ไบต์ UTF-8 และ HTML

ดูคำตอบอย่างรวดเร็ว

Unicode Code Point Lookup: Character to U+ code point, UTF-8 bytes and HTML. Code point U+XXXX uniquely identifies a character (中 = U+4E2D).

中
จำนวนอักขระ (จุดรหัส)3
ไบต์ UTF-88
หน่วย UTF-164
อักขระระนาบเสริม1
อักขระจุดรหัสUTF-8UTF-16HTMLJS
中U+4E2D0xE4 0xB8 0xAD0x4E2D中\u4e2d
AU+00410x410x0041A\u0041
🚀U+1F6800xF0 0x9F 0x9A 0x800xD83D 0xDE80(คู่แทน)🚀\u{1f680}

หลักการเข้ารหัส

  1. 1จุดรหัสคือหมายเลขนามธรรม (เช่น U+4E2D); UTF-8/UTF-16 คือรูปแบบการจัดเรียงไบต์ของหมายเลขนี้
  2. 2UTF-8: ASCII 1 ไบต์, ตัวอักษรจีนที่ใช้บ่อย 3 ไบต์, Emoji 4 ไบต์ เข้ากันได้กับ ASCII อย่างสมบูรณ์แบบ
  3. 3string.length ของ JS นับตามหน่วย UTF-16: "🚀".length === 2 สำหรับจำนวนอักขระที่แท้จริง โปรดใช้ [...str].length
ปลอดภัย: อักขระความกว้างศูนย์ (U+200B, U+FEFF) และอักขระรูปเดียวกัน (ซิริลลิก а กับละติน a) มักถูกใช้สำหรับการฟิชชิ่งและลายน้ำลับ — เมื่อประมวลผลข้อความที่ไม่น่าเชื่อถือ ควรทำให้เป็นมาตรฐานและลบออก ก่อนเปรียบเทียบสตริง ให้สังเกตการทำให้เป็นมาตรฐาน NFC/NFKC (é มีสองรูปแบบคือจุดรหัสเดียวและรูปแบบรวม)

เครื่องมือนี้มีประโยชน์กับคุณไหม?

วิธีใช้งาน

  1. Paste or type content: drop code/text into the Unicode Code Point Lookup or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

ประเด็นสำคัญ

  • Unicode Code Point Lookup is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Character to U+ code point, UTF-8 bytes and HTML.
  • Results come with formulas and reference tables so you can verify every number.

หลักการและสูตรการคำนวณ

Unicode & UTF-8

Code point U+XXXX uniquely identifies a character (中 = U+4E2D)
UTF-8: 1 byte (ASCII), 2 (U+0080+), 3 (U+0800+), 4 (U+10000+)
Emoji beyond U+FFFF use surrogate pairs — "😀".length is 2 in JS
HTML entities: 中 (decimal) or 中 (hex)

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

How do I use the Unicode Code Point Lookup?
Open the page and fill in the input fields — results update automatically. Character to U+ code point, UTF-8 bytes and HTML.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

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

ดูเครื่องมือทั้งหมด 55 รายการในหมวดหมู่นี้ →

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

แหล่งที่มาและการอัปเดต

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

แหล่งข้อมูลที่น่าเชื่อถือ:

อัปเดตล่าสุด:

สูตรและเนื้อหาในหน้านี้ได้รับการตรวจสอบซ้ำโดยทีมงาน YiJianSuan มีไว้สำหรับการเรียนรู้อ้างอิงเท่านั้น สำหรับการใช้งานจริงโปรดปฏิบัติตามข้อมูลอย่างเป็นทางการ

เนื้อหานี้ได้รับการดูแลและตรวจสอบซ้ำเป็นประจำโดยทีมงานแก้ไขของ YiJianSuan ขั้นตอนการอัปเดตและตรวจสอบสามารถดูได้ที่นโยบายการแก้ไขเนื้อหา.

อ้างอิงหน้านี้: YiJianSuan. เครื่องค้นหารหัสจุด Unicode[EB/OL]. https://www.yijiansuan.com/th/c/dev/unicode

ผลลัพธ์ที่ได้จากเครื่องมือนี้มีไว้สำหรับการอ้างอิงเท่านั้น ไม่ถือเป็นคำแนะนำทางวิชาชีพใดๆ โปรดใช้ผลการคำนวณอย่างเป็นทางการเป็นหลัก