Text Tools

Text to Slug

Turn any text into a clean, SEO-friendly URL slug.

Runs in your browser: nothing you enter is uploaded
your-slug-appears-here

How it works

1

Enter your text

Type or paste a title, heading, or any text you want to turn into a URL slug.

2

Pick a separator

Choose a hyphen (the SEO standard) or an underscore to join the words.

3

Copy the slug

The clean slug updates live. Copy it and use it in your page URL.

What makes a good URL slug

A slug is the last part of a page address, the words after the domain. Search engines and people both read it, so a clear slug helps a page rank and get clicked. A good slug tells the reader what the page is about before they open it.

The best slugs are short (3 to 5 words), all lowercase, use hyphens between words, and contain the main keyword of the page. They leave out filler words like "a", "the" and "of" when the meaning stays clear, and they never include dates or IDs that make the address change later.

  • Short: aim for under 60 characters so the full address shows in search results.
  • Lowercase: some servers treat Page and page as different addresses, which creates duplicates.
  • Hyphens, not underscores: Google reads a hyphen as a space between words.
  • Keyword first: put the most important words at the start.
  • Stable: avoid years and numbers you will need to change later.

Slug examples: before and after

TitleSlug
How to Merge PDF Files for Free (2026 Guide)how-to-merge-pdf-files-free
10 Best Coffee Shops in São Paulo!best-coffee-shops-sao-paulo
What Is an EIN & Why Does My LLC Need One?what-is-an-ein-llc
Q4 Sales Report: Results & Next Stepsq4-sales-report-results
Résumé Tips for Nursesresume-tips-for-nurses

Where slugs are used

Blog posts and product pages in WordPress, Shopify, Webflow and Ghost all have a slug field. Developers use slugs for clean routes in apps, file names for exported reports, and IDs in databases that need to stay readable. Changing a published slug breaks old links, so if you must change one, add a 301 redirect from the old address to the new one.

Check the full page with the free Craftora SEO Audit to see whether your URLs, titles and headings work together.

Text to Slug features

  • Turn any title into a clean, lowercase URL slug instantly.
  • Removes special characters, punctuation, and extra spaces.
  • Handles accented letters by converting them to plain equivalents.
  • Choose hyphens (recommended for SEO) or underscores.
  • Runs entirely in your browser, so your text is never uploaded.
  • Completely free with no signup and no limits.

Text to Slug FAQ

What is a URL slug?

A slug is the readable part of a URL that identifies a page, like "how-to-merge-pdf" in craftora.dev/how-to-merge-pdf. A clean slug is short, lowercase, and uses hyphens between words.

How do I create an SEO-friendly slug?

Enter your title and Craftora produces a lowercase, hyphen-separated slug with special characters removed. Keep it short and keyword-focused for the best results. It is free and runs in your browser.

Should I use hyphens or underscores in a URL?

Hyphens. Google treats hyphens as word separators but reads underscores as joining words together, so hyphens are the SEO standard for slugs. Craftora defaults to hyphens.

Does it handle accented and non-English characters?

Yes. Accented letters are converted to their plain equivalents (for example é becomes e), and other special characters are removed, so the slug stays clean and URL-safe.

Is my text private?

Yes. The slug is generated entirely in your browser on your own device. Your text is never sent to a server.

Do I need to sign up?

No. The text to slug tool is free with no account and no limits.

Related Text Tools

Recent from the blog