Skip to content
Toolars
Explore

URL Slug Generator

Set separator, letter case, number removal and diacritics; keep Unicode letters or remove English stop words.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Preparing offline use…

Privacy information
Report bug

Task path / input to outcome

How to generate a URL slug

  1. 01

    Enter the title

    Type or paste the headline into the Title or phrase field. The slug updates live as you type, so you can watch every character get normalized in real time before you commit to it. Separator · Letter case · Remove numbers · Remove diacritics · Preserve non-Latin letters · Remove English stop words. The optional stop-word list is English. Non-Latin text is preserved by default.

  2. 02

    Try the sample first

    With the default settings: Load sample fills in the accented phrase Crème brûlée & browser tools and immediately shows creme-brulee-and-browser-tools. It is the fastest way to see exactly how accents, ampersands, and spaces are handled before you paste your own headline.

  3. 03

    Choose the separator

    Pick Hyphens or Underscores in the mode tabs. Hyphens are the usual convention for public URLs and the default; underscores suit systems that expect them, and every other cleanup rule is identical between the two modes.

  4. 04

    Check the URL slug output

    With the default settings: The result is lowercased, accents are stripped (Crème becomes creme), & becomes and, apostrophes disappear, and every other run of non-letter characters collapses into one separator with the edges trimmed. Letters and numbers from any script are kept, so non-Latin titles survive the conversion intact.

  5. 05

    Copy or download the slug

    Use Copy result to paste the slug into your CMS or router, or Download .txt to save it as toolars-url-slug.txt. Clear empties both panes for the next title, and repeated downloads reuse the same file name while your browser handles the duplicates. Export the current result. UTF-8.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

URL Slug Generator uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Immediate reset

Clear the tab and the active working data is gone.

What URL Slug Generator actually does

Every published page needs a slug: the blog post titled with an em dash and an ampersand, the documentation section whose heading carries accented characters, the tag label that must survive being pasted into a route. URL Slug Generator applies the same deterministic rules every time, right in the browser, so the slug you test locally is the slug that ships in production — and one shared rule set means the whole team gets identical slugs from identical titles. Draft titles — including ones for unreleased content — stay on the device the whole time, and there is nothing to sign into before you start.

Common questions

What exactly happens to accents and symbols?
With the default settings: Text is normalized so accents detach from letters and are removed (é becomes e), ampersands expand to the word and, apostrophes are dropped, and any remaining run of characters that are not letters or numbers becomes a single separator. Repeated separators collapse into one, and the result is lowercased and trimmed at both ends, so leading and trailing separators never survive either. Set separator, letter case, number removal and diacritics; keep Unicode letters or remove English stop words. Export the current result. UTF-8.
What happens to Chinese, Japanese, or other non-Latin text?
With the default settings: It is preserved. The cleanup keeps letters and numbers from every script and only strips accent marks and punctuation, so a Japanese or Chinese title keeps its characters in the slug. Script-internal punctuation such as 、 and 。 turns into separators just like Western punctuation, and lowercasing applies wherever the script actually has case.
Why did my slug come out empty or much shorter?
Check the active options if the result is empty or shorter than expected. Removing numbers, English stop words or non-Latin letters can remove the whole title. Disable the relevant option or add text you want to keep. With default settings, Hello — world! becomes hello-world; & becomes and.
Should I choose Hyphens or Underscores?
Hyphens are the widely recommended word separator for public URLs and the default for a reason. Underscores are available for platforms and naming schemes that require them; the cleanup rules are identical either way.
Does the slug update while I type?
Yes. The output refreshes with every keystroke and every separator change, there is no button to press, and switching between Hyphens and Underscores re-renders the same normalized text with the other separator instantly.
Is the text I paste uploaded anywhere?
No. The slug is computed entirely inside the current browser tab, the input is never sent or retained, and no account is required. Clearing the workspace discards both panes.

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

URL Workbench

Clean URL lists with signed-link protection and per-line reasons. Compare components and export sitemaps.

Edit

JSON Explorer

Query JSONPath, extract fields and round-trip JSON Pointer records without losing large-number precision.

Inspect

JSON Schema Validator

Validate Draft 7 or 2020-12 locally with exact error paths; infer schemas from multiple observed samples.

Inspect

HTML Publishing

Clean pasted HTML for publishing while preserving lists, links and table semantics; preview changes safely.

Publish