Slug Generator

The slug generator turns a title, heading or phrase into a clean URL slug, the short readable part of a web address that follows the last slash. A good slug is lowercase, uses hyphens between words, and contains only letters, numbers and dashes, which makes links easier to read, share and remember while giving search engines clear, keyword rich signals about the page. This tool takes whatever you type and tidies it in one pass. It converts everything to lowercase, strips accents so that words like cafe and Maori become plain ascii, removes punctuation and symbols, collapses runs of spaces, and joins the remaining words with single hyphens. Leading and trailing dashes are trimmed so the result is neat at both ends. Writers, bloggers, marketers and developers use it to create permalinks, file names, anchor links and category paths that stay consistent across a whole site. There is real SEO value in getting this right, because a tidy descriptive slug is more clickable in search results and easier to link to than a string of numbers or query parameters. A few tips improve the outcome. Keep slugs short and focused on the main keywords, dropping filler words like the and of where they add nothing. Decide on a slug before you publish and avoid changing it later, because changing a live URL breaks existing links unless you set up a redirect. Use the same casing and separator everywhere so your address structure looks deliberate. Everything runs locally in your browser, so the text you slugify is never uploaded or stored on a server.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Advertise on this page
how-to-save-for-a-house-in-nz

Lowercases, strips accents and symbols, and joins words with hyphens. Runs in your browser.

How it works

The tool lowercases your text, separates accented letters from their marks and removes those marks, then replaces every character that is not a letter, number or space with nothing. Spaces and repeated separators are collapsed into single hyphens and any leading or trailing hyphen is trimmed.

Worked example

The title How to Save for a House in NZ! becomes how-to-save-for-a-house-in-nz. The exclamation mark is dropped and each space turns into a hyphen.

Related calculators