iLovePDFTools Hub
Generator & Utility Tools

URL Slug Generator

Make SEO-friendly slugs — free, in your browser, with no signup.

  • Free to use
  • No account needed
  • Instant result
Options

Cut on a word boundary, never mid-word. Slide it right to leave the slug uncut.

0 characters

Preview: https://ilovepdftoolshub.in/blog/your-slug

Several at once

One title per line in, one slug per line out, using the same options as above. Useful when you are naming a batch of posts or product pages.

What a slug is, and what makes one good

The slug is the readable tail of a URL — the compress-pdf-to-200kb in example.com/blog/compress-pdf-to-200kb. It is not a ranking lever on its own. What it does is tell someone glancing at a link, or at a search result, what is on the other side of it. That is worth more than it sounds: a URL people can read is a URL people will click, paste and quote correctly.

Lowercase, always

On a Linux server /My-Page and /my-page are two different addresses. Publish one, let people link the other, and you get 404s — or worse, two URLs serving the same page and splitting whatever authority it had. Lowercasing from the start avoids the question entirely.

Hyphens, not underscores

Google has said plainly that it reads a hyphen as a word break and an underscore as a joiner, so compress_pdf can be read as a single token while compress-pdf is read as two words. Underscore is still offered above because plenty of codebases and file-naming conventions expect it. For a public web URL, pick the hyphen.

Short, but not truncated mid-word

Long slugs get cut off in search results and look broken when pasted into chat. Sixty characters or so is a comfortable ceiling. What matters more is where you cut: this tool always trims back to the last complete word, because passport-photo-size-in-centim reads like a mistake in a way that passport-photo-size does not.

Stop words: optional, and genuinely optional

Dropping a, the, of and friends makes slugs tighter, and for a long headline that is usually the right call. It can also destroy the meaning. "How to get a PDF under 100 KB" surviving as get-pdf-under-100-kb is fine; a title that hinges on one small word is not. The checkbox is off by default for that reason — read the result before you use it.

Accents and non-Latin text

Accented Latin letters are folded to their plain equivalents — é becomes e, ñ becomes n, ß becomes ss — which is what nearly every CMS does, and what keeps a URL safe to paste anywhere. Characters outside the Latin alphabet, including Bengali, Devanagari, Arabic and CJK, cannot be folded this way and are dropped instead. If your title is written entirely in one of those scripts you will get an empty slug, and the right move is to write a short transliterated or English slug by hand.

One caution about changing a live URL

If a page is already published and getting traffic, do not quietly rewrite its slug. The old URL is sitting in other people's links, in bookmarks and in Google's index. Change it only alongside a 301 redirect from the old address to the new one; without that, every existing link to the page becomes a 404.

Jakir Hossain

About the developer

Jakir Hossain

Software Developer

I build iLovePDF Tools Hub so that everyday document and image jobs — resizing a form photo, merging a few PDFs, working out an EMI — can be done in a browser tab without installing anything or creating an account. If a tool gets something wrong, or there is one you need that isn't here, tell me and I'll look at it.

ilovepdftoolhub@gmail.com