Text & SEO

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

10 Practical Tips for Better Astro SEO

Output10-practical-tips-for-better-astro-seo
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

Learn URL slugs from the beginning

This guide explains what a slug is, what each Foxger option changes, and what to check before using the result. You do not need previous Search Engine Optimization (SEO) or coding knowledge.

Back to the Slug Generator
Beginner guide contents
Start here

Slugs in one minute

A URL is a page’s web address. A slug is usually the readable, page-specific part of the URL path. Its exact position can vary because websites organize pages in different ways.

Foxger turns a title or short phrase into a URL-friendly text segment. It can standardize spaces, separators, letter case, punctuation, accented Latin letters, numbers, and length.

The Slug Generator does not

  • publish a page or create the complete URL;
  • check whether a slug is already used;
  • visit a website or configure a redirect;
  • guarantee indexing, traffic, or search rankings.
Read the address

Find the slug in a URL

Look at this fictional page address:

https://example.com/guides/night-photography/
https://example.com/
The website address, including its protocol and domain.
guides/
A folder or section chosen by the website.
night-photography/
The page slug in this website’s structure.

Slug versus related parts

Page title

Visible wording such as Beginner’s Guide to Night Photography.

Slug

beginners-guide-to-night-photography

Full URL

https://example.com/guides/beginners-guide-to-night-photography/

Domain

example.com

Path or folder

/guides/

Query and fragment

?source=newsletter and #camera-settings are not normally the page slug.

Choose the right task

Do you need a slug generator?

A generator helps with formatting. It does not manage the rest of a website.

It may help when

  • creating a new article, product, service, or information page;
  • turning a long title into a cleaner URL segment;
  • converting spaces and punctuation consistently;
  • applying lowercase or one separator across several pages;
  • previewing how different Foxger options change a title.

It does not solve the whole task when

  • the page is already published and needs a redirect;
  • your platform creates slugs automatically;
  • you need duplicate-slug or live-indexing checks;
  • you need a complete URL, translation, or folder structure;
  • you need to publish or update a page.
Prepare first

Before you start

Know these details before choosing the final result:

  • the page topic and main title;
  • whether the page is new or already published;
  • whether your platform creates slugs automatically;
  • whether the rest of the site uses lowercase;
  • whether the site normally uses hyphens or underscores;
  • whether the site keeps or transliterates accented characters;
  • whether another page already uses the same final address.
Read the tool

Understand every control

These are the controls currently available in the Foxger Slug Generator.

Text to turn into a slug

What it does: Accepts a title, heading, product name, or short phrase.

Why use it: This is the source text Foxger formats.

Example: Night Photography Guide

It does not: Fetch, publish, or store a page.

Avoid: Pasting an entire URL when you want one slug.

Instant generation

What it does: Updates the output as you type or change an option.

Why use it: You can compare choices without submitting a form.

Example: Adding 2026 updates the result immediately.

It does not: Send a request or need a Generate button.

Avoid: Waiting for a separate submission step.

Separator

What it does: Joins word groups with a hyphen or underscore.

Why use it: A separator keeps a multi-word slug readable.

Example: night-photography or night_photography

It does not: Offer a custom separator.

Avoid: Mixing separators without a site-wide reason.

Maximum length

What it does: Limits output to 10–200 characters; the default is 80.

Why use it: It can stop very long source text from creating a very long slug.

Example: A value of 40 keeps no more than 40 characters.

It does not: Promise to end on a complete word.

Avoid: Shortening until the meaning becomes unclear.

Convert letters to lowercase

What it does: Changes capital letters to lowercase when selected.

Why use it: Lowercase supports a consistent convention.

Example: Camera Tips becomes camera-tips.

It does not: Make uppercase paths technically invalid when switched off.

Avoid: Accidental case variations on a case-sensitive server.

Remove punctuation

What it does: Removes punctuation by default and joins the remaining groups cleanly.

Why use it: It produces a restrained, readable path segment.

Example: Beginner’s Guide: Camera Settings becomes beginners-guide-camera-settings.

It does not: Treat URL delimiters such as slash, question mark, hash, or percent sign as ordinary text.

Avoid: Assuming every symbol will be preserved when the option is off.

Transliterate accented Latin characters

What it does: Changes common accented Latin letters to an unaccented form.

Why use it: Some sites prefer an ASCII-style convention for Latin text.

Example: Café Guide becomes cafe-guide.

It does not: Transliterate Japanese, Arabic, or every other writing system.

Avoid: Assuming the output is a translation.

Preserve numbers

What it does: Keeps numbers when selected; clearing it removes them.

Why use it: Numbers can be meaningful in lists, model names, dates, or events.

Example: 10 Camera Tips keeps 10 by default.

It does not: Decide whether a date belongs in your long-term URL.

Avoid: Removing a number that identifies the real topic.

Generated slug, Copy, and Clear

What they do: Show a selectable read-only result, copy it, or clear the entered text and result.

Why use them: They let you review the exact value before using it elsewhere.

Example: Copy success is announced after the clipboard action.

They do not: Paste into your website or reset the selected options.

Avoid: Publishing without previewing the complete URL.

What the default options change

SpacesNight Photography Guidenight-photography-guide
Repeated spacesBeginner Camera Tipsbeginner-camera-tips
PunctuationBeginner’s Guide: Camera Settingsbeginners-guide-camera-settings
Underscoresnight_camera_tipsnight-camera-tips
Accented Latin textCrème brûléecreme-brulee
Emoji and symbolsCamera 📷 Tipscamera-tips
Advanced note: Unicode, transliteration, and URL encoding

Unicode represents text from many writing systems. Foxger preserves letters from non-Latin scripts rather than forcing them into English letters. For example,Crème 東京 becomes creme-東京 with the defaults.

Transliteration changes a written character into another form. URL encoding represents characters safely inside a URL. They are different operations. Foxger’s transliteration option covers common accented Latin characters only, so always review non-English output and follow your website’s language convention.

Understand the tool’s feedback

Empty input

The output stays empty until the source contains a usable letter or selected number.

Generated output

The read-only result and character count update instantly. A note appears when the maximum length truncates it.

Copy success

The button and live status message confirm when the displayed slug reaches the clipboard.

Length error or Clear

A maximum outside 10–200 is linked to that field and blocks a reliable result. Clear resets the text and feedback.

One example from start to finish

Complete beginner example

A fictional photography guide uses this title:

Original title

Beginner’s Guide to Night Photography in 2026

Default generated slugbeginners-guide-to-night-photography-in-2026
Separator
Hyphen
Lowercase
Enabled
Remove punctuation
Enabled
Transliterate accented Latin characters
Enabled
Maximum length
80
Preserve numbers
Enabled

The result could become part of this complete address:

https://example.com/guides/beginners-guide-to-night-photography-in-2026/
  • https://example.com is the website address and domain.
  • /guides/ is the section chosen by the website.
  • beginners-guide-to-night-photography-in-2026 is the generated slug.

Foxger removed the apostrophe, changed capital letters to lowercase, replaced spaces with hyphens, and kept 2026. The wording still explains the page topic. Your website platform controls where the slug is inserted.

Follow along

Create a slug in 12 steps

Each step tells you what to do, why it matters, and one mistake to avoid.

  1. Decide what the page is about

    What to do: Write down the page’s main subject in plain words.

    Why: A useful slug describes the page instead of adding unrelated search terms.

    Example: The page teaches beginners how to take photographs at night.

    Avoid: Do not begin with a list of keywords that the page does not genuinely cover.

  2. Copy or type the page title

    What to do: Start with the real heading you plan to use for the page.

    Why: The title usually contains the words needed to identify the topic.

    Example: Beginner’s Guide to Night Photography in 2026

    Avoid: Do not paste a complete web address when the input expects text or a title.

  3. Paste the title into Foxger

    What to do: Use the “Text to turn into a slug” box near the top of this page.

    Why: Foxger processes the text locally and shows the result as you type.

    Example: The default output appears without submitting a form.

    Avoid: Do not look for a Generate button; this tool updates instantly.

  4. Review the default output

    What to do: Read the entire generated slug before changing any option.

    Why: The defaults already use a common pattern: lowercase words joined by hyphens.

    Example: beginners-guide-to-night-photography-in-2026

    Avoid: Do not assume generated text is automatically unique on your website.

  5. Decide whether lowercase fits

    What to do: Keep lowercase enabled unless your website deliberately follows another convention.

    Why: URL paths can be case-sensitive, so consistent casing helps avoid confusing variations.

    Example: night-photography instead of Night-Photography

    Avoid: Do not switch case styles from one page to the next without a reason.

  6. Choose a separator

    What to do: Use the Separator list to choose a hyphen or underscore.

    Why: Separators keep words readable when spaces are not used in a path segment.

    Example: night-photography or night_photography

    Avoid: For normal word separation, prefer hyphens unless your site already needs underscores.

  7. Review punctuation and accents

    What to do: Check how apostrophes, symbols, and accented Latin letters changed.

    Why: The selected options may remove punctuation and transliterate Latin accents.

    Example: Beginner’s Café Guide becomes beginners-cafe-guide with the defaults.

    Avoid: Do not assume every writing system can be transliterated by this option.

  8. Edit unnecessary words carefully

    What to do: Change the source text manually only when the result stays clear.

    Why: Foxger does not remove common words automatically, and a short word may carry meaning.

    Example: “guide-to-night-photography” may be clearer than removing “to.”

    Avoid: Do not remove every word such as “a,” “the,” “to,” or “of” by rule.

  9. Confirm the slug still describes the page

    What to do: Read it as if you had not seen the page title.

    Why: A visitor should have a reasonable idea what the page contains.

    Example: night-photography-tips is clearer than page-482-final-new.

    Avoid: Do not repeat the same keyword unnaturally.

  10. Copy the generated slug

    What to do: Select Copy after the output is ready.

    Why: Copy places the exact displayed result on the clipboard.

    Example: Foxger announces when copying succeeds.

    Avoid: Do not copy from the title box when you need the formatted result.

  11. Paste it into your website

    What to do: Find the field called Slug, URL slug, permalink, URL, or page path.

    Why: Your website platform—not Foxger—places the segment into the page address.

    Example: Paste after a section such as /guides/ when your platform expects only the slug.

    Avoid: Do not paste into a visible article paragraph.

  12. Preview before publishing

    What to do: Check the complete URL and make sure another page does not already use it.

    Why: Foxger cannot see your site, publish the page, or check duplicate addresses.

    Example: https://example.com/guides/beginners-guide-to-night-photography-in-2026/

    Avoid: Do not change an already published URL without planning a redirect.

Make editorial choices

Choose a useful slug

There is no single perfect slug. Aim for a readable result that matches the page and the rest of the site.

Describe the page

A person should have a reasonable idea what the page contains.

Better: night-photography-tips

Less useful: page-482-final-new

Prefer hyphens for words

Google recommends hyphens rather than underscores as word separators.

Recommended: night-photography-tips

Technically allowed, less clear: night_photography_tips

Use casing consistently

URL paths may be case-sensitive. Lowercase helps avoid inconsistent versions.

Night-Photography and night-photography may not behave as the same path.

Uppercase is not universally invalid, so consider the site’s convention.

Keep enough meaning

Use enough words to describe the page, then remove clutter that adds no meaning.

Foxger supplies a character limit, not a universal SEO word count.

Use honest topic words

Include words that describe the visible content. Do not repeat a keyword unnaturally.

A slug alone cannot guarantee search rankings.

Think before adding dates

A date can suit an annual report, event, or genuinely year-specific guide.

For evergreen content, a year may cause a future URL change and redirect.

Do not remove every short word

Words such as “a,” “the,” “to,” and “of” can sometimes be removed, but they can also improve clarity.

Foxger has no automatic stop-word-removal option.

Check for duplicates yourself

Two pages should not unintentionally end with the same final URL.

Your platform may reject a duplicate or add a number. Foxger cannot inspect the site.

Move to your website

Use the slug on your website

Website systems use different names for the field. Look for Slug,URL slug, Permalink, URL, orPage path.

  1. Create or edit the page.
  2. Find the slug or permalink field.
  3. Paste the generated slug.
  4. Preview the complete URL.
  5. Confirm that it does not conflict with another page.
  6. Publish only after reviewing the address.
Published URL safety

Changing an existing slug needs a plan

A published slug is part of the 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 items such as:

  • internal links;
  • a permanent redirect from the old URL to the new one;
  • canonical tags;
  • sitemap URLs;
  • hreflang annotations;
  • important shared or saved links.

A well-managed change does not automatically destroy search performance, but it creates work and risk. Foxger does not create, install, or test redirects and cannot inspect those references.

Review before publishing

Common mistakes

Foxger handles formatting. Site-wide, editorial, publishing, and redirect checks still need human review.

  1. 1. Pasting a complete URL

    Enter the title or phrase when you want Foxger to create one path segment.

  2. 2. Treating the slug as the whole URL

    The domain, folders, query parameters, and fragment are separate parts.

  3. 3. Joining every word

    Use a clear separator so several words do not become one hard-to-read string.

  4. 4. Mixing uppercase and lowercase

    Choose one convention and use it consistently across the site.

  5. 5. Repeating keywords

    Describe the page naturally instead of repeating a search phrase.

  6. 6. Removing too much

    Keep enough words for a person to understand the page topic.

  7. 7. Keeping editing labels

    Remove wording such as final-new-copy-2 unless it is truly part of the topic.

  8. 8. Adding an unnecessary year

    Use a year for genuinely time-specific content, not merely to make a URL look current.

  9. 9. Removing every short word

    Words such as “to” and “of” can be useful for meaning. Foxger does not remove them automatically.

  10. 10. Using unrelated words for Search Engine Optimization

    A slug should match the visible page rather than make unsupported promises.

  11. 11. Forgetting duplicate checks

    Foxger cannot inspect your website to see whether the final URL is already used.

  12. 12. Changing a published slug without a plan

    Prepare a redirect and update important references to the old URL.

  13. 13. Expecting Foxger to publish

    Foxger formats text; your website platform creates or updates the page.

  14. 14. Expecting a live URL check

    Foxger does not visit the address or confirm that a page exists.

  15. 15. Expecting ranking guarantees

    A readable slug can help understanding, but it does not guarantee search position.

  16. 16. Preferring underscores automatically

    Underscores are allowed, but hyphens are generally clearer for separating words.

  17. 17. Ignoring punctuation or emoji output

    Read the result after symbols are removed or changed into boundaries.

  18. 18. Expecting universal transliteration

    The option handles accented Latin characters; it does not transliterate every language.

Solve a problem

Troubleshooting

My output is empty

Check that the source box contains letters or allowed numbers. Punctuation-only input, emoji-only input, or text whose numbers were removed can leave no usable output.

Words or characters disappeared

Review Remove punctuation and Preserve numbers. Foxger also converts unsupported symbols into word boundaries. It does not remove common words such as “the” or “to” automatically.

My accented letters changed

Transliterate accented Latin characters is enabled by default. Clear that option to preserve accented Latin letters, then review whether that result matches your website convention.

My non-English title does not look right

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

The slug is already used

Foxger cannot inspect your website. Search the site or check the website platform for the existing address before publishing.

My website added a number

The platform may be preventing a duplicate URL. Check whether another page already uses the slug before accepting the changed address.

I changed the slug and the old URL stopped working

Configure an appropriate permanent redirect from the old URL and update important links. Foxger cannot create or test that redirect.

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

Remove a short word only when the slug stays natural and clear. There is no universal requirement to remove every common word.

Should I include a year?

Use a year when the content is genuinely tied to it, such as an event or annual report. A year on evergreen content can create maintenance when the page is updated.

Can my slug use another language?

Yes. Choose language and character conventions that suit the audience and the rest of the website. ASCII-only or English-only slugs are not a universal requirement.

Useful words

Glossary

Browser
The application used to open websites, such as Firefox, Chrome, Safari, or Edge.
Canonical URL
The preferred URL a page identifies when duplicate or near-duplicate addresses exist.
Domain
The main website name in an address, such as example.com.
Fragment
A part beginning with # that points to a place within a resource, such as #camera-settings.
Hyphen
The short dash character used in a slug such as night-photography.
Internal link
A link from one page to another page on the same website.
Lowercase
The small form of letters, such as a instead of A.
Path
The part of a URL after the domain that locates a resource, such as /guides/night-photography/.
Permalink
A web address intended to remain a stable link to a particular page or post.
Query parameter
Extra URL information after a question mark, such as ?source=newsletter. It is not normally the slug.
Redirect
A rule that sends a visitor and search engine from an old URL to another URL.
Separator
A character placed between words. Foxger offers a hyphen or underscore.
Slug
A readable page-specific segment of a URL path. Its exact position depends on the site structure.
Transliteration
Changing characters into a corresponding form in another writing system. Foxger only handles common accented Latin characters.
Unicode
A standard that lets software represent text from many languages and writing systems.
URL
Uniform Resource Locator: the complete address used to find a page or other resource on the web.
URL encoding
A way to represent characters safely in a URL, often with percent signs and hexadecimal values. It is different from transliteration.
Try it yourself

Practice exercise

Predict the slug, then open the answer

Use Foxger’s default options for this title:

10 Easy Science Experiments for School
  • Which letters change?
  • Where do the spaces go?
  • Are the numbers kept?
  • Would removing “for” improve or weaken clarity?

One useful answer

10-easy-science-experiments-for-school

The capital letters became lowercase, spaces became hyphens, and 10 stayed because Preserve numbers is enabled. Removing “for” is an editorial choice; more than one readable result may be reasonable.

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 always 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?

No. Slug generation runs locally in your browser. Foxger does not upload or intentionally store the title or generated slug.

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.

Final review

Ready to create your slug?

  • My slug describes the page.
  • I understand which part of the URL it will become.
  • I used the same style as the rest of my website.
  • I reviewed lowercase and separator choices.
  • I checked punctuation and accents.
  • I did not repeat keywords unnaturally.
  • I did not remove words needed for meaning.
  • I checked whether the slug is already used.
  • I reviewed the complete URL.
  • I know that changing a published slug may require a redirect.
  • I know Foxger does not publish or verify the URL.
Back to the Slug Generator
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