All tools

Slug Generator

Text

Convert text to URL-friendly slugs with custom separators

Paste a blog post title or product name and get a clean, URL-safe slug back, with a choice of hyphen or underscore separator to match your CMS or static site generator's routing conventions. Accented and non-Latin characters are transliterated to their closest ASCII equivalent where possible, "cafe" comes from "café" rather than being dropped, which is worth checking if your titles lean on non-English text or emoji. This tool only formats the text; it has no awareness of your existing records, so guaranteeing uniqueness against what's already in your database (appending an ID, checking for collisions) is still on your application logic. Conversion runs entirely as plain JavaScript string operations in the browser, nothing is sent anywhere.

slugurlkebabconvert

How to use Slug Generator

  • 1.Paste a blog post title or product name to get a clean, URL-safe slug with your choice of separator (hyphen or underscore).
  • 2.Use it to generate consistent slugs for a CMS or static site generator before writing routing logic.
  • 3.Paste text containing accented characters or emoji to see how they get transliterated or stripped in the output slug.

Frequently asked questions

Does it handle non-English characters?
Yes, accented and non-Latin characters are transliterated to their closest ASCII equivalent where possible (e.g. "café" becomes "cafe").
Is my text sent anywhere?
No, slug generation runs entirely in your browser using JavaScript string operations.
Can I choose the separator character?
Yes, hyphens and underscores are both supported, and you can toggle lowercase conversion on or off.
Will it guarantee a unique slug?
No — this tool only formats the text; uniqueness against existing records is something your application logic (e.g. appending an ID or checking the database) still needs to handle.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/slug \
  -H "Authorization: Bearer utx_live_..." \
  -H "Content-Type: application/json" \
  -d '{"input":"Hello World!","separator":"-"}'

Get an API key from your dashboard · Full API docs →