Skip to content

Menu

Slug Converter

Convert text to URL-friendly slugs with accent transliteration and bulk mode

Runs entirely in your browserText & DiffFree, no sign-up
Loading tool

01What is Slug Converter?

A slug is the readable last part of a URL, like /blog/whats-new-in-react-19. This converter builds one from a title as you type, and it can do a whole list at once. The pipeline is short, and knowing it helps you predict the output. First, if transliteration is on, a lookup table swaps Latin letters that have no accent to strip. So ß becomes ss, æ becomes ae, ø becomes o, ł becomes l, þ becomes th and œ becomes oe. Next the text goes through Unicode NFKD normalization, defined in Unicode Standard Annex #15. That splits é into e plus a combining accent, and the accent is then thrown away. Lowercasing comes next, and it's on by default. After that, anything that isn't an ASCII letter, digit, underscore, space or hyphen is deleted. Punctuation is removed, not replaced, so "Node.js & Express" becomes nodejs-express. Runs of spaces, hyphens and underscores collapse into one separator, either a hyphen or an underscore. Separators are trimmed from both ends. A worked example: "Straße & Ærø: Über die Brücke" gives strasse-aero-uber-die-brucke with the defaults. Turn transliteration off and you get strae-r-uber-die-brucke, because ß, Æ and ø have no accent for NFKD to remove. You can set a maximum length. The slug is cut at that many characters and a dangling separator from the cut is dropped, so a limit of 30 can return 29 characters. The cut can land mid-word, so read the result. For bulk work, put one title per line. Empty lines are skipped, each slug shows next to its source line with its own Copy button, and Copy All grabs the batch. Now the limits. Output is ASCII only, so a title written fully in Cyrillic, Greek, Arabic or Chinese ends up empty. C++ and C# both shrink to c, so "C++ vs C#" becomes c-vs-c. And the tool doesn't check uniqueness against your existing URLs. Your CMS still has to handle collisions. Google's URL structure guidance suggests hyphens over underscores between words, which is why hyphen is the default. All of this happens in the browser tab, and the titles you paste are not uploaded.

Developers and content editors who need clean, predictable URL slugs from titles that contain accents, punctuation or odd spacing. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Slug Converter

  1. Type or paste text into the input box, one title per line for bulk mode
  2. Pick a Separator: hyphen or underscore
  3. Tick or untick Lowercase and transliteration
  4. Set Max length if you need a cap (0 means no limit)
  5. Read each slug next to its original line, then click Copy on one row or Copy All

03Worked examples

Input: What's New in React 19?
Result: whats-new-in-react-19
Default settings. The apostrophe and question mark are removed rather than turned into separators.
Input: Straße & Ærø: Über die Brücke
Result: strasse-aero-uber-die-brucke
Transliteration on: ß becomes ss, Æ becomes ae and ø becomes o. Ü and ü lose their accents through NFKD.
Input: Straße & Ærø: Über die Brücke
Result: strae-r-uber-die-brucke
Same title with transliteration off. Letters with no accent to strip are dropped.
Input: --Hello__World--
Result: hello_world
Underscore separator. Runs of spaces, hyphens and underscores collapse into one, and the ends are trimmed.
Input: How to Deploy a Next.js App to a VPS with Docker and Coolify
Result: how-to-deploy-a-nextjs-app-to
Max length 30. The cut left a trailing hyphen, which is removed, so the slug is 29 characters.
Input: C++ vs C#
Result: c-vs-c
Symbols are stripped, so different names can collapse into the same slug. Привет мир (Cyrillic) gives an empty slug for the same reason.

04Common use cases

  • Generating URL slugs from blog post titles for a CMS or a static site generator
  • Building product permalinks for a shop where names contain accents like Café or Crème Brûlée
  • Turning category and tag names into route-safe identifiers for a Next.js dynamic route
  • Batch-converting a column of titles pasted from a spreadsheet into slugs for seed data
  • Creating underscore-separated identifiers for file names or database keys
  • Checking what a long title shrinks to under a 60-character URL budget

05Tips

  • After a Max length cut, check uniqueness again. Two long titles that share an opening can shrink to the same slug.
  • Punctuation is deleted, not turned into a separator. "v2.0" becomes v20, so write "v2 0" or edit the slug if the dot mattered.
  • With Lowercase off, transliterated capitals keep their case. "Ærø Guide" gives Aero-Guide.
  • For titles in non-Latin scripts, write a romanized or English slug by hand. This tool drops those characters entirely.
  • Changing a published slug breaks old links, so add a 301 redirect from the old URL.

06Related concepts

URL slug, Permalink, Unicode normalization, Transliteration.

Frequently Asked Questions

What is Slug Converter?

Slug Converter is a free, browser-based developer tool on AIDToolStack. Convert text to URL-friendly slugs with accent transliteration and bulk mode It requires no installation or sign-up and works entirely in your browser.

Is Slug Converter free to use?

Yes. No sign-up, no fees and no usage cap.

Does Slug Converter store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe