Text & SEORuns locally

Slug Generator

Create clean URL slugs and learn how they work with a beginner-friendly step-by-step guide. Convert titles locally in your browser without uploads or accounts.

01

Add your text

Results update instantly

Paste a page title, article heading, product name or short phrase.

02Choose options

Between 10 and 200 characters.

03

Copy your slug

0 / 80 characters

Ready to use in a URL path.

Example

From headline to URL

Input

Beginner’s Guide to Night Photography in 2026

Outputbeginners-guide-to-night-photography-in-2026
How it works

Predictable, safe formatting

  1. NormalizeWhitespace, separators and optional accented characters are standardized.
  2. FilterPunctuation and numbers follow the options you choose.
  3. LimitThe final value respects the length limit without separators at either edge.
Use the result with confidence

Learn what belongs in a useful slug

The generator handles formatting, but you still decide which words describe the page and whether changing an existing URL is safe. The guide explains each control, shows where the slug fits in a full URL, and covers checks Foxger cannot perform for you.

New to URL slugs? Read the step-by-step beginner guide
Step-by-step guide

Turn a title into a slug—and know what to check

Follow one page title from input to full URL. The guide explains each control, shows what Foxger changes, and separates formatting facts from choices you still need to make.

Back to the Slug Generator
Beginner guide contents
Start with the result

Slugs in one minute

In this fictional URL:

https://example.com/guides/night-photography/

night-photography is the slug.

The URL is the full web address. The slug is the readable, page-specific part used inside the path. Foxger turns a title or phrase into that cleaner URL segment.

Input

Night Photography Guide

Outputnight-photography-guide

Notice what changed: the capital letters became lowercase and the spaces became hyphens. That input-to-output change is the tool’s central job. Website folders, redirects, and URL encoding can wait until you need them.

Read the address

Find the slug in a URL

Break the same address into three useful pieces:

https://example.com/
The website address and domain.
guides/
A section of the path chosen by this website.
night-photography/
The page slug in this website’s structure.

Websites organize pages differently. A slug is often near the end of the path, but it is not literally the final path segment in every system. Check the field and preview provided by your website platform.

Choose the right task

Do you need a slug generator?

A generator helps with text formatting. It does not manage the website around it.

Use it when you need to

  • turn a new page title into a readable URL segment;
  • apply lowercase and one separator consistently;
  • review how punctuation, accents, or numbers change;
  • set an exact output-length limit.

Use your website tools as well when

  • the platform already creates slugs automatically;
  • you need to check whether an address is already used;
  • a published page needs a redirect;
  • you need to publish, translate, or move the page.
Watch one transformation

What Foxger changes

Use this title for the rest of the guide:

Page title

Beginner’s Guide to Night Photography in 2026

Default slugbeginners-guide-to-night-photography-in-2026
  • The capital letters became lowercase.
  • The apostrophe was removed without splitting Beginner’s into two words.
  • The spaces became hyphens.
  • The number 2026 stayed because number preservation is on by default.

Other input the defaults handle

Repeated spaces and separatorsBeginner’s_Guide---to Night Photographybeginners-guide-to-night-photography
Accented Latin lettersBeginner’s Café Guidebeginners-cafe-guide
Non-Latin lettersCrème 東京creme-東京
Emoji and symbolsNight 📷 Photographynight-photography
Read the tool

Understand every control

The defaults suit a common lowercase-and-hyphen style. Change a control when your page or website convention gives you a reason.

Text to turn into a slug

Enter a title, heading, product name, or short phrase. The output updates as you type.

For the main example, enter Beginner’s Guide to Night Photography in 2026. Do not paste a complete URL when you want one page slug.

Separator

Choose a hyphen or underscore to join word groups. Hyphen is the Foxger default and Google recommends it for separating words in URLs.

Choose underscore only when it matches an intentional site convention. Foxger has no custom-separator option.

Maximum length

Enter a whole number from 10 to 200. The default is 80. If the limit shortens a result, Foxger shows a message and removes a separator left at the end.

The limit can cut through a word. At 40 characters, the main example becomes beginners-guide-to-night-photography-in. Review meaning instead of treating one length as a universal SEO rule.

Convert letters to lowercase

On by default. It changes Beginner’s Guide to beginners-guide. Lowercase is a useful consistency choice because URL paths can be case-sensitive.

Turn it off only when your site deliberately preserves case; the main result then begins Beginners-Guide.

Remove punctuation

On by default. It removes punctuation and turns unsupported symbols into clean boundaries. The apostrophe in Beginner’s disappears without separating the word.

Turning it off can retain punctuation that is safe inside a path segment, but URL delimiters such as /, ?, #, and % still become boundaries. The default is usually easier to review.

Transliterate accented Latin characters

On by default. It changes common accented Latin forms, such as café to cafe. Turn it off when your website keeps those accents.

This is not translation and it does not transliterate every writing system. Letters such as 東京 remain.

Preserve numbers

On by default, so 2026 remains in the main result. Turn it off when numbers add no meaning.

Foxger cannot decide whether a year, model number, or list number belongs in the long-term URL.

Generated slug, Copy, and Clear

The read-only output shows the current result and its character count. Copy places that displayed result on the clipboard; Clear removes the input and output.

Clear does not reset the selected options. If copying is unavailable, Foxger selects the output so you can copy it manually.

Follow one purposeful sequence

Build one slug step by step

Each step adds one decision. The control explanations do not need to be repeated.

  1. Start with the real page title

    Action: Use the title or phrase that describes the page you are preparing.

    Reason: The source should contain the words a visitor needs to recognize the topic.

    Expected result: Beginner’s Guide to Night Photography in 2026

  2. Paste the title into Foxger

    Action: Put it in the “Text to turn into a slug” box.

    Reason: The result updates locally as you type, so there is no Generate button to press.

    Expected result: The generated slug appears in the read-only output box.

  3. Read the default result first

    Action: Check the whole output before changing an option.

    Reason: The defaults already follow a common pattern: lowercase words separated by hyphens.

    Expected result: beginners-guide-to-night-photography-in-2026

  4. Change an option only when your site needs it

    Action: Compare the defaults with the URL style already used by your website.

    Reason: Consistency across one site is more useful than changing a convention without a reason.

    Expected result: For example, choose underscores only when that is an intentional site convention.

  5. Check that the words still describe the page

    Action: Read the slug without looking at the title.

    Reason: Formatting cannot decide whether a word is useful, repetitive, or misleading.

    Expected result: Keep 2026 only if the page is genuinely about that year.

  6. Check the final address on your site

    Action: Make sure another page does not already use the same URL.

    Reason: Foxger cannot inspect your website or detect duplicate slugs.

    Expected result: Your platform may reject a duplicate or add a number to it.

  7. Copy the result into the slug field

    Action: Select Copy, then paste the result into your website’s slug, permalink, or page-path field.

    Reason: Foxger formats the text; your website platform builds and publishes the full URL.

    Expected result: The copied value is the generated slug, not the original title.

  8. Preview the complete URL before publishing

    Action: Read the domain, folders, and slug together one last time.

    Reason: This catches the wrong folder, an unclear slug, or a duplicate before the address goes live.

    Expected result: If the page is already published, stop and make a redirect plan before changing its slug.

Make editorial choices

How to choose a useful slug

A technically valid result can still be unclear. Use these distinctions to decide what belongs in the final slug.

Technical fact

URL paths can be case-sensitive. Two addresses that differ only by case may identify different resources.

Recommendation

Use descriptive words, prefer hyphens between words, and avoid needless complexity. Follow the language and style expected by your audience and site.

Foxger default

Lowercase is enabled, the separator is a hyphen, punctuation is removed, accented Latin letters are transliterated, numbers are kept, and the maximum is 80 characters.

Judge the words, not only the format

  • Keep enough descriptive words for someone to recognize the page.
  • Remove filler only when the meaning stays clear. Foxger has no stop-word-removal option.
  • Use topic words naturally rather than repeating the same phrase.
  • Keep a date when the page is genuinely tied to it, such as an annual report or event.
  • Follow the existing site convention when it is clear and working.
  • Choose length by clarity and platform needs; there is no universal perfect slug length.

Clear description

night-photography-guide

The words identify the topic without repetition.

Less useful description

night-photography-night-photo-guide-2026-new

The topic repeats, and the extra labels need a real editorial reason.

Put the pieces together

Title versus slug versus full URL

Now place the main example into a fictional website structure:

Page title
Beginner’s Guide to Night Photography in 2026
Slug
beginners-guide-to-night-photography-in-2026
Full URL
https://example.com/guides/beginners-guide-to-night-photography-in-2026/

The title is visible page wording. The slug is one path segment. The full URL combines the website address, the /guides/ section, and the slug.

Where query parameters and fragments fit

A query parameter begins after ?, such as ?source=newsletter. A fragment begins after #, such as #camera-settings. They can be useful parts of a URL, but they are separate from this page slug.

Move to your website

Use the slug on your website

Look for a field named Slug, URL slug,Permalink, URL, or Page path. The exact name depends on how the website is built.

  1. Create or edit the page.
  2. Find the field that controls the page address.
  3. Paste the generated slug only where the platform expects that segment.
  4. Preview the complete URL.
  5. Check that another page does not already use it, then publish through the platform.
Published URL safety

Before changing a published slug

A published slug is already part of a page URL. Changing it creates a different address. Old links and bookmarks may stop working, and search engines may already know the old URL.

Review and update important references such as:

  • links between pages on your site;
  • the preferred canonical URL;
  • sitemap entries;
  • language or regional annotations such as hreflang;
  • important shared, saved, or printed links.

A managed URL change can still cause temporary search fluctuations while systems process it. That is a reason to plan and monitor the change, not a claim that every edited slug causes a lasting ranking loss.

Learn from the consequence

Common mistakes

Each correction separates what Foxger formats from what you still need to check.

  1. 1. Pasting a complete URL

    What happens: Foxger treats the domain and URL punctuation as source text, so the result is not the page address you intended.

    Correction: Enter the page title or phrase when you want one slug.

  2. 2. Treating the slug as the whole URL

    What happens: The result has no domain or site folders and cannot be opened as a complete address by itself.

    Correction: Paste it into the slug or permalink field, then preview the full URL your platform creates.

  3. 3. Repeating the same topic words

    What happens: A slug such as night-photography-night-photo-tips is harder to read without making the page more relevant.

    Correction: Keep one clear description that matches the visible page.

  4. 4. Removing too much meaning

    What happens: A very short result can become vague even though it is technically valid.

    Correction: Remove a word only when the remaining slug still explains the page.

  5. 5. Changing case or separators from page to page

    What happens: The website develops several URL styles, and case differences may identify different paths.

    Correction: Follow the convention already used by the site unless there is a planned reason to change it.

  6. 6. Adding a year with no lasting purpose

    What happens: Evergreen content may look outdated later or need an avoidable URL change.

    Correction: Keep a year for content that is genuinely tied to that year.

  7. 7. Changing a published slug without a plan

    What happens: Old links and bookmarks may stop reaching the page.

    Correction: Plan an appropriate permanent redirect and update important references to the old URL.

  8. 8. Assuming Foxger checks uniqueness

    What happens: Two pages may compete for the same address, or the platform may alter the slug automatically.

    Correction: Check existing pages and the final address inside your website platform.

  9. 9. Assuming Foxger publishes the page

    What happens: Copying the result changes nothing on the website by itself.

    Correction: Use your content-management or publishing system to save and publish the page.

  10. 10. Expecting a ranking guarantee

    What happens: A readable slug cannot compensate for weak content or guarantee indexing, traffic, or position.

    Correction: Use the slug to describe the page clearly, then judge the page and site as a whole.

Start with what you see

Troubleshooting

My output is empty

Check that the input contains a letter or an enabled number. Punctuation-only or emoji-only input can leave no usable output. If the source contains only numbers, keep Preserve numbers selected.

Some text disappeared

Check the maximum-length message first. Then review Remove punctuation and Preserve numbers. Foxger does not remove common words such as “the” or “to” automatically.

My accented letters changed

Transliterate accented Latin characters is selected by default. Clear it to preserve accented Latin letters, then check that the result follows your website’s language convention.

My non-English text looks different than expected

Foxger preserves letters from non-Latin scripts, but it does not translate or transliterate every writing system. Review the result with someone who understands the language and your site’s URL style.

My website added a number

The platform may be preventing a duplicate address. Search the site or check its URL settings before accepting the altered slug.

The slug is already used

Foxger cannot inspect your website. Choose another clear slug or follow the platform’s process for resolving duplicate addresses.

The old URL stopped working

If you changed a published slug, configure and test an appropriate permanent redirect from the old URL. Update important links and URL references as well.

Should I remove words such as “the” or “to”?

Remove a short word only when the slug stays natural and clear without it. Foxger has no automatic stop-word-removal setting.

Should I include a year?

Keep a year when the page is genuinely tied to it, such as an event or annual report. For evergreen content, a year can create future maintenance without adding lasting meaning.

Read when the simple case is not enough

Optional deeper details

Unicode and internationalized URLs

Unicode represents text from many languages. Internationalized resource identifiers extend the familiar URI model to a wider character set, and browsers or platforms may display or encode those characters in different forms.

Foxger transliterates common accented Latin characters when the option is selected and preserves letters from other scripts. It does not translate a title or choose the best language for the audience.

Transliteration versus URL encoding

Transliteration changes how written characters are represented, such ascafé to cafe. Percent encoding represents characters in a URL with sequences such as %20. These are different operations.

Foxger generates a text segment. Your browser or website platform is responsible for constructing and encoding the final URL correctly.

Why platforms can produce different slugs

A content-management system may apply its own punctuation rules, length limit, transliteration, reserved-word handling, or duplicate suffix. Foxger cannot override those rules. Compare the pasted value with the final preview before publishing.

Useful words

Glossary

Canonical URL
The preferred address a page identifies when more than one address can show the same or very similar content.
Domain
The main website name in an address, such as example.com.
Fragment
A part beginning with # that points to a place within a page, such as #camera-settings.
Hyphen
The short dash used between words in a slug such as night-photography.
Path
The part after the domain that identifies a resource, such as /guides/night-photography/.
Permalink
A web address intended to remain a stable link to a page or post.
Query parameter
Extra URL information after a question mark, such as ?source=newsletter. It is separate from the path.
Redirect
A server or platform rule that sends a visitor from an old URL to another URL.
Separator
The character placed between word groups. Foxger offers a hyphen or underscore.
Slug
A readable, page-specific segment of a URL path. Its exact position depends on the website structure.
Transliteration
Changing written characters into another form. Foxger handles common accented Latin characters, not every writing system.
Unicode
The text standard that represents characters from many languages and writing systems.
URL
The complete web address for a page or another resource.
URL encoding
A representation that uses percent signs and hexadecimal values for characters when needed in a URL. It is different from transliteration.
Predict before checking

Practice exercise

Predict the slug, then open the answer

Use Foxger’s default options for this title:

5 Simple Ways to Organize School Notes
  • What happens to the capital letters and spaces?
  • Does the number remain?
  • Would removing to improve the meaning or weaken it?

Verified result

5-simple-ways-to-organize-school-notes

The capital letters became lowercase, the spaces became hyphens, and 5stayed because Preserve numbers is selected. Keeping to makes the phrase read naturally; removing it is an editorial choice, not a tool requirement.

Final review

Final checklist

  • My slug describes the page.
  • I understand which part of the URL it becomes.
  • I reviewed the options I changed.
  • I followed my site’s existing URL style where it is useful.
  • I checked that another page does not already use the same final address.
  • I previewed the complete URL.
  • I know that changing a published URL may require a redirect.
Back to the Slug Generator
Quick answers

Slug Generator questions

What is a URL slug?

A slug is the readable, page-specific part of a URL path. In https://example.com/guides/night-photography/, the final night-photography segment is the slug.

Is a slug the same as a full URL?

No. A full URL also includes the scheme, domain, and often folders. Foxger creates a text segment that you can place in the slug, permalink, or page-path field provided by your website system.

Why are hyphens usually used between words?

Hyphens make word boundaries clear, and Google recommends them instead of underscores for separating words in URLs. Underscores are allowed characters, so follow an established site convention when consistency matters.

Should a slug use lowercase?

Lowercase is a useful convention because URL paths may be case-sensitive and mixed case can create inconsistent versions. Uppercase is not universally invalid, so consider how the rest of your site works.

Should I remove words such as “the” and “to”?

Not automatically. Remove a short word only when the slug remains clear and accurate without it. Foxger does not remove these words for you.

Can a slug contain accented or non-English characters?

Yes, many systems support internationalized URLs. Foxger can transliterate common accented Latin characters, while letters from scripts such as Japanese or Arabic remain. Check what your website platform and audience expect.

What happens if I change a published slug?

The page URL changes. Old links and bookmarks may stop working, so a permanent redirect and updates to internal links, canonicals, sitemaps, hreflang annotations, and shared links may be needed. Foxger does not create redirects.

Does Foxger upload or store my text?

Slug generation runs locally in your browser. Foxger does not upload or intentionally store the entered title or generated slug. The separate theme preference contains no tool text; ordinary page and asset requests may still appear in hosting or security logs.

Does this tool check whether the slug already exists?

No. Foxger does not inspect your website. Check your website platform and existing URLs before publishing so two pages do not unintentionally use the same final address.

Does a good slug guarantee search rankings?

No. A readable slug can help people understand a URL, but it does not guarantee indexing, traffic, or rankings. The page content and the rest of the website still matter.

Optional support

Help keep Foxger useful

Foxger tools are free, private, and built without display ads. Optional support helps keep them maintained, tested, and documented.

Support Foxger