Text and writing

How to create a page slug from a title

A slug is an identifying part of some addresses. Generating one does not create a page, register an address or shorten an existing URL.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter Café déjà vu! in the Slug Generator.

  2. Generate it and check the letters and hyphens.

  3. Before using it, check whether the target accepts Unicode and whether the path already exists.

Slug Generator

Worked example

The tool lowercases the title, preserves accents and replaces spaces with hyphens; final punctuation is removed.

Result: café-déjà-vu.

Limits and checks

It normalizes to NFC but does not transliterate letters, check uniqueness or detect reserved names. Some systems require percent-encoding or different slug rules. Empty or punctuation-only input is rejected; limit: 10,000 UTF-16 code units.

Next step

To encode a URL component, see the URI encoder and review its intended context.

URI Component Encoder/Decoder
Back to the blog