Shard Tools

URL Slug Generator

Turn a title into a lowercase URL slug locally.

Maintained by Roshan.

Browser-local slug tool

Use URL Slug Generator

Normalize spacing and punctuation, choose a separator, and decide whether non-Latin letters should remain.

Explore text tools

Find related browser-local tools for nearby tasks without starting another search.

Browse all text tools

About URL Slug Generator

A slug is the readable path segment that identifies a page, article, product, or record. Good slugs are stable, concise, and predictable; they are not a substitute for page quality or a magical ranking signal. This generator lowercases a title, normalizes accented Latin letters, replaces punctuation and whitespace with one chosen separator, and trims separators from both ends. Hyphens are the conventional URL choice, while underscores can suit filenames or internal keys. By default the output is ASCII for broad compatibility. A Unicode option preserves non-Latin letters and numbers instead of erasing meaningful Japanese, Arabic, Hindi, or other script content. Everything updates locally while you type.

Work through the input

  1. The input is normalized with Unicode compatibility decomposition. Combining accents are removed, so café becomes cafe in ASCII mode. Compatibility characters that have standard decompositions become more predictable before punctuation cleanup.
  2. ASCII mode keeps lowercase a-z and digits, replacing every other run with a hyphen or underscore. Repeated spaces and punctuation collapse into one separator, and leading or trailing separators are removed.
  3. Preserve Unicode mode keeps letters and numbers from any script while applying the same separator rules. Browsers percent-encode these characters on the wire, but modern interfaces can display the readable form. Choose this only when the site's URL policy supports internationalized paths consistently.
  4. The tool does not truncate or deduplicate the result because it does not know your content system. A production CMS should enforce maximum length, uniqueness, reserved words, and redirects when an existing slug changes.
  5. Copy places the generated value on the clipboard. No URL is created, checked, registered, or published. The page merely transforms the text you provide and stores no history.

When url slug generator is useful

Accented product title

Café File Tools: Fast & Private becomes cafe-file-tools-fast-private with the default ASCII and hyphen settings.

Japanese article path

With Unicode preservation enabled, 東京 ファイル becomes 東京-ファイル instead of an empty ASCII result.

Check the output

Questions about URL Slug Generator

Should URLs use hyphens or underscores?

Hyphens are the common public-URL convention. Underscores remain available for systems or filenames whose established policy requires them.

Are Unicode slugs valid?

Modern browsers support international characters and encode them for transport, but your framework, database, redirects, and analytics must handle them consistently.

Will this make a page rank higher?

A concise descriptive URL helps people understand a page, but the slug alone cannot replace useful content, authority, crawlability, or intent satisfaction.

Does generating a slug publish or reserve it?

No. It is a local text transformation only. Your website or CMS must check uniqueness and create the actual route.

Related tools

Text Case Converter

Convert text locally to upper, lower, title, sentence, camel, Pascal, snake, kebab, or constant case without uploading your content.

Word and Character Counter

Count words, visible characters, characters without spaces, lines, sentences, UTF-8 bytes, and estimated reading time locally as you type.

SRT to VTT

Convert SubRip .srt subtitles to WebVTT for the HTML5 video track element. Runs entirely in your browser.

Text to Morse Code

Translate text into Morse code in your browser, with slashes marking word gaps.