Loona Automation logoLoona Developer Tools
Home › Text & Strings

Slug Generator

In short: turn a page title into a clean URL slug — accents folded to plain letters, punctuation removed, words joined by hyphens (or underscores, your choice).
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

How to Cook Rice: A Beginner's Guide!

Output:

how-to-cook-rice-a-beginners-guide

About this converter

A slug is the readable tail of a URL, and good slugs follow boring rules: lowercase, ASCII only, words separated by hyphens, no stop-word surgery you will regret, no dates that expire. This generator folds accented characters to their base letters (é → e) via Unicode normalization, drops punctuation, collapses runs of separators, and trims the ends. Hyphens are the recommended separator — Google treats them as word separators while underscores join words into one token — but the option exists for systems (some wikis, file conventions) that use underscores. Length discipline is yours: slugs under ~60 characters stay readable and shareable.

Frequently Asked Questions

Hyphens or underscores?

Hyphens for the web: search engines read them as word breaks. Underscores are read as joining the words into one.

Should I remove words like "the" and "a"?

Modern guidance says keep slugs natural; removing stop words saves little and can change meaning. Keep it short but complete.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.