Text & web utilities

URL slug sanitizer and permalink segment generator

Create a clean path segment with your chosen separator casing and ASCII or Unicode letter policy.

Your settings

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Generate result.

Report an issue

Try it, understand it

Explore the result

Try an accent, a different separator and Unicode letters.

Worked example comparison
ExampleOutputWhat to notice
Default slugSlughello-worldHello World becomes hello-world.
Decomposable accentsSlugcafe-pricesCafé prices becomes cafe-prices.
Retain non-Latin lettersSlugभरत-गणनUnicode mode keeps the letters in this Hindi phrase.

Check your understanding

Does this guarantee a unique permalink?

No. Check the destination site for an existing route before publishing.

Does Unicode mode translate a title into English?

No. It retains letters and digits from supported scripts; it does not translate or transliterate them.

Behind the tool

How this tool works

The sanitizer simplifies decomposable accents and converts punctuation and whitespace into a separator. Repeated separators collapse because each unsupported run is replaced once. Leading and trailing separators are trimmed. The Unicode option keeps letters and numbers from non-Latin scripts instead of discarding them.

THE OUTPUT RULEDecompose accents; replace runs of nonletters and nondigits with the selected separator

A worked example

“Café prices & offers” becomes cafe-prices-offers with the default settings. Preserving case gives Cafe-prices-offers. This is a path segment that can be appended to your own site address.

Good to know

No automatic transliteration of every script, domain creation, uniqueness check or redirect installation. A plus in a path is not the same context as plus in form-encoded query data. Review existing links before changing a live slug.

A slug is one part of a URL

A slug normally names a path segment, such as home-loan-prepayment in a calculator address. The domain, protocol, query and fragment are separate components. This tool produces the segment only, avoiding a misleading complete URL for a domain you did not enter.

Accent decomposition can simplify café to cafe, but it does not transliterate every script. If an ASCII-only result removes the useful letters, choose Unicode mode. The bulk URL to XML converter needs complete published addresses rather than these bare segments when preparing a sitemap.

Publishing a new spelling does not move existing links

A cleaner segment can improve readability, but changing an established address requires a migration decision. Existing search results and external links continue to request the old path. Configure a suitable permanent redirect when a page genuinely moves, then update internal links and the canonical address.

The generator cannot check whether a proposed segment is already used by another page. A hyphen is a familiar separator, while underscore and plus are available for compatibility with an existing convention. Plus has special meaning in some form-encoded query contexts, which is different from a literal path segment.

A few questions, answered

Does this guarantee a unique permalink?

No. Check the destination site for an existing route before publishing.

Does Unicode mode translate a title into English?

No. It retains letters and digits from supported scripts; it does not translate or transliterate them.

Find your calculator

Start typing to explore the library.