ข้อความ
Slugify
แปลงข้อความเป็น "slug" ที่ปลอดภัยสำหรับ URL: ทับศัพท์อักษรซีริลลิก (ยูเครน/รัสเซีย) ตามมาตรฐานทางการ ลบเครื่องหมายกำกับเสียงและอักขระส่วนเกิน แปลงเป็นตัวพิมพ์เล็ก
A slug is a URL-safe version of a title or name: lowercase Latin letters, digits, and hyphens instead of spaces. This tool transliterates Cyrillic text using the official standard and strips diacritics and characters that aren't valid in a URL.
How to use it
- Paste an article title, product name, or any text — the slug is generated instantly as you type.
- Multiple spaces, punctuation, and special characters are automatically collapsed into a single hyphen.
- Copy the result and use it as part of a page or file URL.
Common uses
- Generating URLs for blog posts or products in a CMS from a Cyrillic or Latin title.
- Creating safe file names from arbitrary text with no spaces or special characters.
- Building anchor IDs (#section-name) on a page from section headings.
Things to keep in mind
Cyrillic transliteration isn't unique — different systems (e.g. passport vs. scholarly) transliterate the same letters differently; this tool follows the official transliteration standard.
Keep slugs short and meaningful — long slugs are harder to remember and look worse in search results.
บทความเกี่ยวกับเครื่องมือนี้: Slugify: หัวข้อกลายเป็น URL ที่ใช้งานได้อย่างไร
คำถามที่พบบ่อย
ข้อความถูกแปลงเป็น slug ที่เป็นมิตรกับ URL อย่างไร?
ข้อความถูกแปลงเป็นตัวพิมพ์เล็ก อักขระซีริลลิก (ยูเครน รัสเซีย) ถูกทับศัพท์ตามมาตรฐานทางการ เครื่องหมายกำกับเสียงและอักขระที่ไม่รองรับ URL ถูกลบออก จากนั้นคำต่างๆ จะถูกเชื่อมด้วยตัวคั่นที่เลือก
ฉันสามารถเลือกตัวคั่นที่ใช้ใน slug ได้หรือไม่?
ได้ ตัวเลือกตัวคั่นช่วยให้คุณเลือกอักขระที่เชื่อมคำต่างๆ ของ slug ซึ่งมักเป็นขีดกลางหรือขีดล่าง
ข้อความที่ป้อนถูกส่งไปยังเซิร์ฟเวอร์หรือไม่?
ไม่ การสร้าง slug ทั้งหมดทำงานในเบราว์เซอร์ของคุณด้วย JavaScript ไม่มีอะไรถูกส่งออนไลน์
ต้องทำอย่างไรถ้าหัวข้อสองอันที่ต่างกันให้ slug เดียวกัน?
หัวข้อ «Привіт, світ!» และ «привіт світ» หลังการปรับให้เป็นมาตรฐานจะได้ slug เดียวกัน แม้ข้อความจะต่างกัน หากใช้ slug เป็นตัวระบุที่ไม่ซ้ำกัน (เช่น ใน URL ของบทความ) การชนกันแบบนี้ต้องได้รับการจัดการเพิ่มเติม โดยทั่วไปคือเติมส่วนต่อท้ายเป็นตัวเลขหรือ ID
ทำไมการเข้ารหัส URL แบบธรรมดาถึงใช้แทน slug ไม่ได้?
Percent-encoding ของอักษรซีริลลิกถูกต้องทางเทคนิคใน URL แต่มนุษย์อ่านไม่ออกและดูไม่น่าเชื่อถือในแถบที่อยู่หรือเมื่อคัดลอก Slug แก้ปัญหาความอ่านง่ายนี้โดยเฉพาะ ไม่ใช่แค่ความถูกต้องทางเทคนิคของอักขระ