مولد Slugs
A URL slug is the human-readable, SEO-friendly portion of a URL (e.g., "how-to-bake-bread" in example.com/blog/how-to-bake-bread). Generating proper slugs involves lowercasing, removing special characters, replacing spaces with hyphens, handling accented characters (transliteration), and removing stop words for cleaner URLs. Our generator handles all of this correctly.
الرابط المولَّد
Why Use Slugs?
روابط أنظف: Instead of "my%20blog%20post%20title", use "my-blog-post-title".
صديق لمحركات البحث: Slugs help search engines understand your content and improve rankings.
تجربة مستخدم أفضل: Users can read and remember URLs more easily.
متوافق مع المعايير: URLs should only contain alphanumeric characters, hyphens, and underscores.
حول URL Slug Generator
A URL slug is the human-readable, SEO-friendly portion of a URL (e.g., "how-to-bake-bread" in example.com/blog/how-to-bake-bread). Generating proper slugs involves lowercasing, removing special characters, replacing spaces with hyphens, handling accented characters (transliteration), and removing stop words for cleaner URLs. Our generator handles all of this correctly.
كيفية الاستخدام
- Paste any text, title, or string.
- The slug is generated instantly: lowercase, hyphen-separated, special chars removed.
- Toggle options: remove stop words, max length, custom separator (- vs _).
- See the full transformation pipeline: original → lowercase → transliterate → remove special → trim hyphens.
الصيغة والمنهجية
Algorithm: 1) Convert to lowercase. 2) Transliterate accented chars (é→e, ñ→n, ü→u). 3) Replace spaces and separators with hyphens. 4) Remove all non-alphanumeric characters except hyphens. 5) Collapse multiple consecutive hyphens. 6) Strip leading/trailing hyphens. 7) Optional: truncate to max length at word boundary.
حالات الاستخدام الشائعة
- CMS: auto-generating post slugs from article titles
- E-commerce: product URL slugs from product names
- Laravel/Django/Rails: route slug generation
- Bulk import: cleaning user-generated content into URL-safe identifiers
- File naming: converting document titles to filesystem-safe filenames
الأسئلة الشائعة
أدوات ذات صلة
كل الأدوات →دمج هذه الأداة في موقعك
مجاني للاستخدام الشخصي والتجاري. فقط انسخ الكود أدناه.