InputTestHub

URL Slug Generator

Turns any title into a clean, SEO-friendly URL slug: lowercase, hyphenated, accent-free and stripped of stop words if you want.

Text Nothing uploaded No sign-up Free, unlimited
Text tool
0 means no limit
Paste something on the left to see the result.
In short A URL slug is the readable part of a web address, and generating one means lowercasing the text, replacing spaces with hyphens, stripping accents and removing everything that is not a letter, digit or hyphen. "How to Merge PDF Files in 2026!" becomes how-to-merge-pdf-files-in-2026. Hyphens rather than underscores is the one choice with evidence behind it rather than convention: Google has stated that hyphens are treated as word separators in URLs and underscores are not, so my-page-title is read as three words and my_page_title as one. Accents have to go because a URL is limited to a restricted character set — a URL containing é is percent-encoded into something unreadable, which defeats the purpose of a readable slug. Removing stop words is optional and genuinely debatable: it makes slugs shorter, and it can make them read badly. Two rules that matter more than length. Keep the slug stable, because changing it breaks every existing link unless you redirect. And keep it descriptive, because it is one of the few parts of a URL a person actually reads.

How to use the URL Slug Generator

  1. Paste your text into the input box on the left.
  2. Adjust the options above the box if you need a different behaviour.
  3. The converted text appears on the right; press Copy to put it on your clipboard.

About the URL Slug Generator

The URL Slug Generator turns any title into a clean, SEO-friendly URL slug: lowercase, hyphenated, accent-free and stripped of stop words if you want. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Creating a permalink for a new blog post.
  • Making file names safe for the web.
  • Batch-converting a list of titles into slugs.

Frequently asked questions

Should slugs use hyphens or underscores?
Hyphens. Google treats a hyphen as a word separator and an underscore as a word joiner, so "merge_pdf_files" can be read as one token while "merge-pdf-files" is read as three words.
How long should a URL slug be?
Short enough to read at a glance — three to six words is typical. There is no ranking penalty for a longer slug, but long URLs get truncated in search results and are harder to share.
Are there any usage caps on the URL Slug Generator?
There is no cost and no cap. The URL Slug Generator is not a demo of a paid product, so nothing is held back or watermarked.
Does anything I enter leave my computer?
No. The URL Slug Generator runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
Give me a worked example.
Enter "How to Merge PDF Files in 2026!" and the URL Slug Generator returns how-to-merge-pdf-files-in-2026.
When would I actually need the URL Slug Generator?
Typical uses: creating a permalink for a new blog post. Making file names safe for the web. Batch-converting a list of titles into slugs. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there an app version?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related text tools

All 92
01

Case Converter

Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…

02

Uppercase Converter

Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…

03

Lowercase Converter

Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.

04

Title Case Converter

Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…

05

Sentence Case Converter

Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…

06

camelCase Converter

Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…

07

PascalCase Converter

Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…

08

snake_case Converter

Converts text to snake_case for Python variables, database columns and file names.

09

kebab-case Converter

Converts text to kebab-case for URLs, CSS class names and HTML attributes.

10

CONSTANT_CASE Converter

Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…