Skip to main content
DevTools24

स्लग जनरेटर

टेक्स्ट से URL-फ्रेंडली स्लग जनरेट करें।

URL Slugs - तकनीकी विवरण

A slug is the URL-friendly version of a title or string. Good slugs are lowercase, use hyphens to separate words, and contain only alphanumeric characters. They improve SEO and make URLs more readable.

कमांड-लाइन विकल्प

# Create slug in bash\necho 'Hello World!' | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/-\\+/-/g' | sed 's/^-\\|-$//g'