Text to Slug

Turn titles into clean, URL-friendly slugs with your choice of separator.

  • Runs in your browser
  • Free, no sign-up

0 means no limit. Cuts at a whole word.

Type a title to start

About the Text to Slug

A slug is the readable part of a web address that names a page, such as better-sleep-tips in example.com/blog/better-sleep-tips. Paste a title and Text to Slug turns it into a clean slug: lowercase, with hyphens between words and nothing that could break a link.

Accents are removed, so "Crème Brûlée" becomes creme-brulee, and Cyrillic and Greek titles are spelled out in Latin letters. Punctuation disappears, apostrophes are dropped without splitting the word, and "&" becomes "and". You can also choose underscores or dots, keep capitals, remove short filler words and numbers, and cut the slug at a maximum length without breaking a word.

Paste a whole list of titles, one per line, to get all the slugs at once. Add your site address and you can copy complete URLs too. Everything runs in your browser.

How to use it

  1. Enter your titlesType a title or paste several, one per line. Sample loads four titles in English, French, Russian and with brackets.
  2. Choose the formatPick the separator (hyphen, underscore, dot or none) and whether letters are lowercase, uppercase or kept as typed.
  3. Shorten if neededSet Max length to cut long slugs at a whole word, and turn on "Remove short words" to drop filler words like "the" and "of".
  4. Add a base URLType your site or blog address in Base URL to see the full link in the status line and to enable Copy URLs.
  5. Copy the resultCopy takes the slugs, one per line. Copy URLs takes the full addresses with your base URL in front.

Key features

Accents removed

é, ü, ñ, å and other accented letters become their plain form, and ß becomes ss.

Cyrillic and Greek spelled out

Russian, Ukrainian and Greek letters are converted to Latin, so "Привет, мир!" becomes privet-mir.

Clean punctuation

Everything except letters and digits becomes a separator, repeats are merged, and apostrophes are dropped so "Don't" becomes dont.

Length limit at a whole word

Set a maximum and the slug is cut at the last full word that fits.

Many titles at once

Each line becomes its own slug, ready to paste back into a spreadsheet or a CMS import.

Full URLs

Add a base URL and copy complete links, with the slash between address and slug added for you.

Examples

The sample titles

TitleSlug
10 Tips for Better Sleep: What Really Works10-tips-for-better-sleep-what-really-works
Café & Crème Brûlée Recipes for Beginnerscafe-and-creme-brulee-recipes-for-beginners
Привет, мир!privet-mir
How to Use Git (Without Losing Your Mind)how-to-use-git-without-losing-your-mind

Making slugs shorter

SettingSlug for "How to Use Git (Without Losing Your Mind)"
Defaulthow-to-use-git-without-losing-your-mind
Remove short wordsuse-git-without-losing-mind
Max length 30how-to-use-git-without-losing

"Remove short words" drops common English words such as "how", "to", "the" and "your". In "The Best of the Best", only the two "best" remain: best-best. A title made up of nothing but common words is left as it is.

Other characters

TitleSlug
Don't Stop Me Nowdont-stop-me-now
Straße in Münchenstrasse-in-munchen
Łódź & Krakówlodz-and-krakow
Καλημέρα κόσμεkalimera-kosme
50% off: today only!!!50-off-today-only
C++ vs C# in 2026c-vs-c-in-2026

Full URLs

With Base URL set to https://example.com/blog, Copy URLs gives:

https://example.com/blog/10-tips-for-better-sleep-what-really-works
https://example.com/blog/how-to-use-git-without-losing-your-mind

Tips

  • Keep slugs short and descriptive. Three to five meaningful words are usually enough, and short slugs are easier to read, share and remember.
  • Leave dates and years out of slugs for articles you plan to update. "best-laptops" can stay the same next year; "best-laptops-2026" cannot.
  • Use hyphens rather than underscores for web pages. Google treats a hyphen as a space between words, while underscores can join words together.
  • Once a page is published, avoid changing its slug. If you must, set up a 301 redirect from the old address so links and search rankings carry over.
  • Check slugs from symbol-heavy titles by hand. "C++" and "C#" both lose their symbols and become just "c", so write "cpp" or "c-sharp" yourself.

Common mistakes and limits

  • Pasting titles in Chinese, Japanese, Arabic or HebrewOnly Latin, Cyrillic and Greek letters are converted. Other scripts are dropped, so "東京 travel guide" becomes travel-guide and a fully Japanese title gives an empty line.
  • Expecting German spelling rulesUmlauts lose their dots, so München becomes munchen, not muenchen. Type "Muenchen" in the title if you prefer that spelling.
  • Cutting at a word that changes the meaningMax length stops at the last whole word that fits, which can leave a slug ending in "what" or "without". Check the end of shortened slugs.
  • Keeping capitals in URLs"Keep as typed" and UPPERCASE create addresses that differ only by case. Many servers treat those as different pages, which leads to broken links and duplicates.
  • Removing numbers that matterRemove numbers drops every number, including ones that belong to the topic, such as "iphone-16" or "windows-11".

Frequently asked questions

What is a URL slug?
The slug is the last part of a page address that identifies the page in readable words, such as how-to-use-git in example.com/blog/how-to-use-git. Most website systems, including WordPress, let you set it for each page or post.
What makes a good slug?
Lowercase letters, digits and hyphens only; a few words that describe the page; no dates that will go out of date; and no filler words that add length without meaning.
Should I use hyphens or underscores?
Hyphens. Google reads a hyphen as a word separator and recommends hyphens over underscores in URLs. Underscores are common in file names and code, which is why the tool offers them too.
How are accented and foreign letters handled?
Accents are removed (é to e, ñ to n), special letters are spelled out (ß to ss, æ to ae, ł to l), and Cyrillic and Greek letters are converted to Latin. Letters from other scripts are dropped.
Which words does "Remove short words" take out?
Common English words such as a, an, the, and, of, to, for, how, what and your, from the same list of 188 words the Word Frequency Counter skips. If a title consists only of those words, it is left unchanged.
How does Max length work?
The slug is cut after the last whole word that fits within the limit, separators included. If the first word alone is longer than the limit, that word is cut at the limit.
Can I convert many titles at once?
Yes. Put each title on its own line, and you get one slug per line in the same order. The status line shows how many slugs were made.
Does the tool check whether a slug is already taken?
No. It only creates the text of the slug. Your website or CMS decides whether the address is free.