Handytool
डेवलपरमुफ़्तस्थानीय रूप से चलता है

Slugify

किसी भी शीर्षक को एक clean, URL-safe slug में turn करें — Unicode aware, separator और stop-word options के साथ।

सेपरेटर
स्रोत पाठ
0 पंक्तियाँ0 bytes
Slug
0 पंक्तियाँ0 bytes

Slugify के बारे में

Handytool का slugify tool titles, headings, और arbitrary text को clean, URL-friendly slugs में convert करता है जिन्हें आप एक CMS, एक blog, या अपने router में drop कर सकते हैं। यह punctuation को strip करता है, whitespace के runs को collapse करता है, optionally transliterate करता है accented और Cyrillic characters को ASCII तक, result को lowercase करता है, और words को आपकी choice के separator से join करता है। एक बार में एक पूरी list slug करने के लिए कई lines at once paste करें।

Slugify की विशेषताएँ

  • 01

    Unicode aware with ASCII fallback

    Default में Unicode letters को keep करता है, या diacritics को strip करता है और non-ASCII characters को /[a-z0-9-]+/ slug तक fold करता है जब ASCII mode on है — legacy systems के लिए safest option।

  • 02

    अपना separator pick करें

    Dash, underscore, या dot। अधिकांश CMS platforms dashes expect करते हैं; underscores code में common हैं; dots file names के लिए useful हो सकते हैं।

  • 03

    Optional stop-word stripping

    Common English filler words (a, the, of, and …) को remove करता है ताकि "The Best of the Year" जैसे titles best-of-year बन जाएँ instead of the-best-of-the-year।

Slugify अक्सर पूछे जाने वाले प्रश्न

क्या यह non-Latin alphabets को handle करता है?
हाँ। ASCII mode off होने पर यह Unicode letters (Cyrillic, Greek, आदि) को preserve करता है। ASCII mode on होने पर यह diacritics को remove करता है और basic ASCII के बाहर सब कुछ को drop करता है — useful जब आपके URLs को उन systems के through round-trip करने की जरूरत है जो Unicode नहीं बोलते।
Stop words को क्यों सिर्फ lowercase mode में strip किया जाता है?
Stop-word stripping एक fixed lowercase English list का उपयोग करता है, इसलिए यह सिर्फ तब trigger होता है जब lowercasing enable है। अन्यथा यह "The" को miss करता है जबकि "the" को remove करता है।
क्या मैं एक बार में कई titles को slug कर सकता हूँ?
हाँ — एक पंक्ति में एक title paste करें। हर पंक्ति को independently slugify किया जाता है, इसलिए आप एक single paste में permalinks की एक पूरी list बना सकते हैं।
क्या मेरा input कहीं भेजा जाता है?
नहीं। Slugification plain JavaScript है जो आपके ब्राउज़र में चलता है — आपके titles कभी page छोड़ते नहीं।

संबंधित टूल

डेवलपर

अन्य टूल्स देखें

सभी टूल