URL Slug Generator

This tool turns any title, heading or phrase into a clean URL slug: the lowercase, hyphenated part of a web address that identifies a page. A good slug matters more than people realise. It is the human-readable tail of a URL, the bit after the domain, and search engines, readers and link-sharers all pay attention to it. A tidy slug like best-flat-white-wellington is clear, memorable and good for SEO, whereas a messy one full of capitals, spaces, punctuation or odd characters looks untrustworthy and can even break when shared. Creating slugs by hand means lower-casing everything, replacing spaces with hyphens, stripping out punctuation and stray symbols, and dealing with accented letters, which is fiddly to get right every time. This generator does it all in one step. You type or paste your text, and it produces a clean slug: it converts everything to lower case, removes accents and macrons by reducing letters to their basic form, strips out any character that is not a letter, number or hyphen, replaces spaces and punctuation with single hyphens, and trims hyphens from the ends. The result updates as you type, ready to copy straight into your content management system, blog, or link. Use it for blog posts and articles, product and category pages, documentation, or anywhere you need a neat permalink. A few SEO tips: keep slugs short and descriptive, include your main keyword, and avoid stop words where you can, since a concise slug is easier to read and to rank. Everything runs locally in your browser, so your text stays on your device.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner
-

Lower-cases text, removes accents and special characters, and joins words with single hyphens. Keep slugs short and keyword-focused for SEO.

How it works

The text is converted to lower case, then accented characters are reduced to their basic letters. Any character that is not a letter, number or space is removed, runs of spaces and hyphens are collapsed into a single hyphen, and hyphens are trimmed from the start and end, leaving a clean, web-safe slug.

Worked example

The title The Best Flat White in Wellington! (2026 Guide) becomes the-best-flat-white-in-wellington-2026-guide. The capitals are lowered, the exclamation mark and brackets are removed, and every gap becomes a single hyphen, giving a tidy slug ready to drop into a web address.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-06-14 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.