SEO tool

Text to Slug

Write a title and get a simple URL-friendly version.

Runs in your browser. No upload.

A good slug is short, clear and easy to read.

About this tool

Text to Slug made simple.

Accents, punctuation and repeated spaces are cleaned automatically for a readable slug.

Guide

Using Text to Slug

Text to Slug turns a title or phrase into the short, lowercase piece of a web address that sits after the domain name. Type a heading, and the box below fills in as you type. Accents are removed, punctuation is dropped, and spaces become single hyphens. Two checkboxes let you keep or drop digits and keep or drop letters from non-Latin alphabets. It is meant for bloggers, shop owners and developers who name pages by hand. It does not check whether the address is already used on your site.

How to use it

  1. Type or paste your page title into the Title or phrase box. The slug appears in the URL slug box straight away, and it keeps updating while you type.
  2. Leave Keep numbers ticked if digits matter, as in a title like 10 easy ways. Untick it and every digit is removed from the result.
  3. Tick Keep non-Latin letters if your title uses another alphabet, such as Cyrillic or Japanese. Left unticked, those letters are removed.
  4. Press Create slug to get a short message saying whether a slug was made. Press Copy slug to put the result on your clipboard.
  5. Check the result by eye before you use it. Press Clear to empty both boxes and start a new title.

Worked examples

A plain English title

You enter
Title
10 Easy Ways to Save Money!
Keep numbers
yes
Keep non latin
no
You get
Slug
10-easy-ways-to-save-money

Letters are lowercased, the exclamation mark is dropped and each space turns into a hyphen. The leading 10 stays because Keep numbers is on.

Run through the tool’s own code.

The same title with numbers off

You enter
Title
10 Easy Ways to Save Money!
Keep numbers
no
Keep non latin
no
You get
Slug
easy-ways-to-save-money

With Keep numbers unticked, the digits 1 and 0 are removed, and the hyphen that would have followed them is trimmed from the start.

Run through the tool’s own code.

Accents and an ampersand

You enter
Title
Crème Brûlée: Recette Facile & Rapide
Keep numbers
yes
Keep non latin
no
You get
Slug
creme-brulee-recette-facile-rapide

The accent marks on e and u are stripped. The colon and the ampersand are dropped, and the extra spaces they leave behind collapse into one hyphen.

Run through the tool’s own code.

Cyrillic text with the option on

You enter
Title
Привет мир
Keep numbers
yes
Keep non latin
yes
You get
Slug
привет-мир

With Keep non-Latin letters ticked the words stay in their own alphabet. With it unticked the same title gives an empty slug, because every letter is removed.

Run through the tool’s own code.

When it helps

  • Naming a new blog post so its address says what the page is about.
  • Cleaning product names before they are used in a shop address.
  • Preparing file names or folder names that should have no spaces or accents.
  • Checking how a headline with accents and punctuation will look in a link.
  • Making consistent addresses when you publish many pages in a row.

Limits to keep in mind

  • Underscores are deleted, not turned into hyphens. A title such as snake_case_title becomes snakecasetitle, with the words joined together.
  • Letters like ß, Ł and Ø are not rewritten into plain Latin. They stay in the result, which may need a manual fix.
  • The tool does not shorten long titles or remove small words. You decide how long the slug should be.
  • It cannot tell if the slug is already used by another page on your site or in your content system.
  • Characters outside letters, digits, spaces and hyphens, including emoji and symbols, are removed.

Tips

  • Cut your title down to its key words first. A short phrase makes a more readable slug than a full sentence.
  • Replace underscores with spaces before you paste, so the words stay apart.
  • Look at the result once more when your title has letters such as ß or Ł, and edit it by hand if needed.
  • Keep one habit for numbers across your site, either always keep them or always drop them.

Sources

Common questions

About Text to Slug.

What is a URL slug?

A slug is the readable last part of a page address, such as the words after the final slash. It names the page in a few lowercase words. It is chosen when the page is created, so it helps to choose it with care.

Why does the tool use hyphens between words?

Hyphens are the usual way to separate words in an address. Google's URL guidance recommends hyphens over underscores, because they help people and search engines see the separate words.

What happens to accents like é or ñ?

The tool splits each accented letter into the base letter plus its mark, then drops the mark. So é becomes e and ñ becomes n. Letters that have no such split, like ß or Ø, are kept as they are.

Why is my slug empty?

This happens when nothing is left after cleaning. A title written only in a non-Latin alphabet gives an empty slug unless Keep non-Latin letters is ticked. A title of only symbols does the same.

Why did my underscores disappear?

The cleaning step removes any character that is not a letter, digit, space or hyphen, and the underscore is on that list. The words on either side of it then join. Swap underscores for spaces first.

Should I keep numbers in a slug?

It depends on the page. A list post such as 10 easy ways reads naturally with its number. A page that you update often may be easier to keep stable without a year or count in the address.

Can I use a non-Latin slug on the web?

Browsers can show such addresses, but Google's guidance says non-ASCII characters in links should be percent-encoded, which makes the raw link look long. Check how your own site software handles it before you rely on it.

Is my title sent anywhere?

No. The slug is built by code running in your browser, and the tool says it runs in your browser with no upload. Clearing the box empties the text on the page.

Does the tool check that my slug is unique?

No. It only changes the text you give it. Two different titles can give the same slug, and the tool has no way to see the other pages on your site.

How do I make an SEO-friendly slug?

Enter a short page title and create a slug. Keep the result clear, relevant and easy for people to read.