Free SEO tool · Utility
Text cleaner & slug generator
Strip invisible characters, curly quotes and stray spaces from pasted text, generate clean URL slugs from any list of titles, and convert case with proper English Title Case, plus a pixel-width check for SEO titles.
How it works: everything runs in your browser and nothing is uploaded. Hidden characters are always detected and listed on the right, even when removal is switched off, so you can see what is in your text before changing it. Joiner characters inside emoji sequences and non-Latin scripts are left alone.
Cut at the last whole word that fits. Short URLs are easier to read and share.
A slug is the part of the URL that identifies the page. The rule of thumb: lowercase, no accents, words separated by hyphens, no punctuation. Once a page is live, do not change its slug without a 301 redirect.
Title Case style (simplified AP): first and last word, and the first word after a colon, are always capitalized. In between, a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, on, per, to and via stay lowercase; every other word is capitalized, including longer prepositions such as with, from and over. Words with internal capitals (iPhone) and short acronyms (SEO) are kept. Check brand names and phrasal verbs by hand.
Why clean URLs matter
A good URL tells people and search engines what the page is about before they open it. The basics are simple: lowercase letters, words separated by hyphens, short, readable and free of tracking parameters or session IDs. Google's documentation recommends hyphens over underscores because its systems can treat hyphens as word separators but not underscores. A slug such as clean-url-slugs reads as three words, while clean_url_slugs may be read as one long string. Use the slug generator for a whole content plan at once, then check how the address will look in results with the SERP simulator.
Keep slugs short, drop filler words, and avoid dates or numbers that will go stale. Once a page is indexed, treat its slug as permanent: if you must change it, set up a 301 redirect from the old address to the new one.
Why multilingual sites should avoid diacritics in URLs
Accented characters are allowed in URLs, but they travel in percent-encoded form. The Romanian word “școală” (school) becomes %C8%99coal%C4%83 as soon as someone copies the link into an email or a report. Different tools may show the encoded or the decoded form, which makes analytics, redirects and sitemaps harder to keep consistent and can produce accidental duplicates. On a site with several language versions, plain ASCII slugs such as scoala-de-vara avoid all of that. Keep the accents in the title and body, where they belong, and keep the slug simple. If you publish in several languages, the hreflang guide explains how to connect the versions.
Invisible characters that break copy-paste and your CMS
Text pasted from PDFs, messaging apps, slide decks and AI tools often carries characters you cannot see: zero-width spaces, byte order marks, soft hyphens and left-to-right marks. They cause real problems. A form validator rejects an email address that looks fine. A product code fails to match in a spreadsheet. A word is split in site search, or a heading shows a stray box in some fonts. In a URL or a redirect rule, an invisible character quietly produces a different address. The cleaner lists every hidden character with its code point and its line and column, so you can find out where it came from, and removes it with one switch.
Title Case or sentence case?
Both are legitimate. Title Case suits headlines in American publishing and many brands. Sentence case, where only the first word and proper nouns are capitalized, usually reads as more conversational and is common in interface text and many style guides. The important part is consistency: pick one style for headings and title tags, and apply it everywhere. The Case & counts tab implements a simplified AP-style Title Case and a sentence case that preserves acronyms. For guidance on writing titles that earn clicks, see how to write title tags and meta descriptions.
Typographic quotes and dashes
Word processors turn straight quotes into curly ones automatically, so text moves between editors with a mix of both. That is harmless in prose but troublesome in code, JSON, HTML attributes and search queries, where only the straight characters work. In the other direction, curly quotes and proper dashes look more polished in published articles. Choose the direction that fits the destination: straight for code and data, curly for finished copy. The same goes for en and em dashes and the single ellipsis character.
Common mistakes
Typical problems are pasting from a word processor straight into a CMS, leaving double spaces after periods, mixing quote styles in one article, using underscores in slugs, shipping slugs of more than 60 characters, and changing live URLs without redirects. Clean the text first, then optimize the page. If you want help with titles, headings and on-page structure across a whole site, take a look at our on-page SEO service. Image file names deserve the same care as page slugs, as covered in image SEO with WebP and alt text.
Frequently asked questions
Frequently asked questions about text cleaning and slugs
What are invisible characters and why remove them?
They are characters that take up no visible space, such as the zero-width space (U+200B), the byte order mark (U+FEFF) or the soft hyphen (U+00AD). They sneak in when you copy from PDFs, chat apps, word processors and some AI tools. They can break copy-paste into a CMS, make two identical-looking strings fail a match, split words in site search and even end up inside URLs. The cleaner lists each one with its position so you can see where it came from.
Should I use underscores or hyphens in a URL slug?
Use hyphens. Google's documentation recommends hyphens to separate words in URLs and notes that its systems can treat hyphens as word separators but not underscores. A slug like clean-url-slugs is read as three words. The generator also offers underscores for places where you have no choice, such as some file names and database keys.
Can I keep accented letters in my URLs?
Browsers and search engines handle them, but a copied link turns ș into %C8%99, which looks messy in emails and reports, and the encoded and plain forms can create duplicates. For multilingual sites, ASCII slugs avoid that. The generator transliterates accented letters (for example ă to a, ß to ss, ø to o). If you run several language versions, see the hreflang guide for how to link them correctly.
Which Title Case style does this tool use?
A simplified AP style: the first and last word and the first word after a colon are capitalized, as are all other words except short articles, coordinating conjunctions and short prepositions (a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, on, per, to, via). Words that already contain internal capitals, such as iPhone or SEO, are left untouched. Phrasal verbs ("log in") and brand names may need a manual check.
How wide can a title be before Google cuts it off?
Google truncates titles by pixel width, not by character count, and the exact limit changes. About 600 pixels at Arial 20px is a commonly used working figure, so treat the meter as an estimate. To preview the result as a search snippet, use the SERP simulator, and see how to write title tags and meta descriptions.
SEO Lab
More free tools
SERP snippet simulator
See how your title and description look in Google on desktop and mobile — measured in pixels, like Google does.
Open the tool →301 redirect generator
Turn a list of old → new URLs into .htaccess, nginx or CSV rules for migrations.
Open the tool →Headline analyzer
Score article and page titles: length, power words, clarity and click potential.
Open the tool →Want a specialist to look at the results?
Tools show you the symptoms. We find the causes and fix them: send us your website address and get a free initial analysis.
[email protected] · +40 771 430 955