Free Slug & URL Handle Generator
A free slug generator that converts product titles, headings, or any text into clean, lowercase URL handles and code-safe identifiers. It strips accents and punctuation and gives you kebab-case (for URLs and Shopify handles), snake_case, camelCase, and CONSTANT_CASE side by side. Paste a whole list and it processes every line. It runs entirely in the browser.
How to use slug generator
- Type or paste text into the box — one item per line for a batch.
- Each line is converted to a handle and the three code-case variants in a table.
- Click 'Copy handles' to copy the kebab-case column as a newline-separated list.
Common uses
- Generating Shopify product or page handles from titles
- Creating URL slugs for blog posts and CMS entries
- Turning a label into a metafield key or a translation key
- Naming files or CSS classes consistently from a design spec
- Bulk-converting a spreadsheet column of names into IDs
Frequently asked questions
What is a URL slug or handle?
It is the human-readable, lowercase, hyphenated part of a URL that identifies a page — for example 'premium-cotton-t-shirt'. Shopify calls it the 'handle'.
How are accented and special characters handled?
Accents are stripped to their base letter (é becomes e), and anything that is not a letter or number becomes a single hyphen, with leading and trailing hyphens removed.
Can I convert a list all at once?
Yes. Put one item per line and every line is converted; the copy button gives you all the handles as a list.
Is anything sent to a server?
No. The conversion is plain string processing in your browser.
This free tool is one of several browser-based AI utilities by Faraz Hussain, a Shopify developer and web engineer. See all free AI tools, what he's shipped, or the services.
Other free tools: JSON formatter · image compressor · Shopify metafield validator · UTM link builder · image to Base64 · slug generator · word counter