Text to Slug Converter

Turn any title or heading into a clean, URL-safe slug — instantly.

Runs in your browserNo sign-up required
Your Text
Slug
10-best-free-online-tools-for-images-pdfs-2026-guide

Accented letters are converted to their plain equivalent (é → e), and anything that isn't a letter, number, or space is dropped — so the result is always safe to use directly in a URL.

A Slug That's Actually Safe to Publish

Manually turning a title into a slug means remembering to lowercase it, replace spaces, strip punctuation, and handle any accented letters correctly — miss one and the URL either looks messy or breaks outright. This tool handles all of it at once, including converting accented letters to their plain equivalent rather than stripping them, so the result is always safe to drop straight into a URL.

How to Use This Tool

  1. 1Paste your title or headingThe slug updates instantly as you type.
  2. 2Choose kebab-case or snake_caseHyphens are the standard for most CMS and blog URLs; underscores are used by some systems instead.
  3. 3Set a max length if neededUseful for systems with a slug length limit — the slug is trimmed cleanly at a word-safe cut point.
  4. 4Copy the resultOne click copies the finished slug.

What Makes a Good URL Slug

  1. 1Lowercase, hyphen-separated wordsThis is the near-universal convention across blogs, CMSs, and static site generators — readable, predictable, and safe in every browser and server.
  2. 2No special characters, accents, or punctuationA slug should contain only letters, numbers, and a single separator character — anything else risks being encoded into an ugly %-escaped mess in the actual URL.
  3. 3Short enough to be readable, but still descriptiveA slug that's too long defeats the purpose of a clean URL; one with an optional max-length limit keeps it within a reasonable size while still describing the content.

Frequently Asked Questions

What exactly is a "slug"?

The URL-friendly part of a web address that identifies a specific page — for example, in kravoy.com/blog/best-image-tools, "best-image-tools" is the slug. It's derived from a title but simplified to only safe, readable characters.

How are accented letters like é or ñ handled?

They're converted to their closest plain-letter equivalent (é → e, ñ → n) via Unicode normalization, rather than being stripped entirely or left as broken characters in the URL.

Should I use hyphens or underscores in a slug?

Hyphens (kebab-case) are the standard convention for URLs — Google and most CMSs treat a hyphen as a word separator for search purposes, while an underscore is sometimes treated as joining two words into one. Use underscores only if a specific system you're working with requires them.

Why are numbers and letters kept, but everything else removed?

Anything outside letters, numbers, and the chosen separator either has no reliable meaning in a URL or would need to be percent-encoded, making the URL longer and less readable — stripping them keeps the slug clean and portable.

Is my text sent anywhere when I use this tool?

No — the conversion runs entirely in your browser using JavaScript string operations. Nothing you type here is transmitted anywhere.

Is this slug converter free to use?

Yes, completely free, with no sign-up and no length limit.