Case Converter
Fix text typed with caps lock on, tidy headings into title case, or turn phrases into camelCase and snake_case for code, all in one click.
Runs entirely in your browser. Nothing you add is sent to us.
Create a free account to use the Case Converter
Free forever for this tool. Takes a few seconds — then you come straight back here.
- All 150 free tools, one login
- Free website audit with fixes
- Search Console dashboard
- Free keyword rank tracker
Already have an account? Sign in
How to use the Case Converter · 45 sec
A case converter changes the capitalisation of text in one click, so you do not have to retype it. Our free tool converts to UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and alternating case, and it can tidy stray double spaces and spacing around line breaks. It is handy for fixing text typed with caps lock on, cleaning up product lists and spreadsheet exports, formatting headings consistently and turning phrases into variable names or file names. Copy the result or download it as a .txt file. The conversion runs in your browser, so nothing you paste is uploaded.
How to use the Case converter
- 1 Paste your textDrop in anything from a single heading to a long list. Each line keeps its own line break.
- 2 Choose a caseClick UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE or alternating. The result appears straight away.
- 3 Tidy spacing if neededUse tidy spaces to collapse double spaces and trim spaces at the start and end of lines, which is common in text pasted from PDFs and emails.
- 4 Check names and acronymsAutomatic conversion cannot know every proper noun. Glance over brand names, places and acronyms such as NHS or VAT and fix any that changed.
- 5 Copy or downloadCopy the result to your clipboard, or download a .txt file to use in a spreadsheet, code editor or CMS.
The case styles and when to use each
Different jobs call for different capitalisation. Writing and design mostly use the first four styles, while the rest are naming conventions used in code, files and data.
- UPPER CASE: short labels, signage and acronyms. Avoid it for paragraphs, which are harder to read in capitals.
- lower case: a clean starting point before applying another style, and for email addresses, tags and hashtags.
- Title Case: headings, page titles, book and product names, with main words capitalised and minor words in lower case.
- Sentence case: only the first word and proper nouns capitalised. The default on GOV.UK and many UK websites for headings and buttons.
- camelCase: variable and function names in JavaScript and many other languages, such as orderTotal.
- PascalCase: class and component names, such as CustomerAccount.
- snake_case: database columns, Python variables and some file names, such as order_total.
- kebab-case: URL slugs, CSS class names and file names, such as boiler-repair-leeds.
- CONSTANT_CASE: constants and environment variables, such as MAX_UPLOAD_SIZE.
- aLtErNaTiNg case: purely for fun or mocking tone online; not for anything professional.
Title case versus sentence case for headings
There is no single correct heading style in British English. Many UK publishers, the BBC website and GOV.UK use sentence case for headlines and headings, which many people find easier to read and more conversational. Title case is more common in American publishing and is still widely used for book titles, product names and some brand styles.
What matters most is consistency. Pick one style for page headings, one for buttons and navigation, and stick to it across the site. Our Title Case option capitalises the main words and keeps short words such as a, an, the, and, of and in lower case unless they start the title. If your house style has different rules, for example capitalising every word, use the result as a starting point and adjust.
The first word after a colon or full stop inside a heading is always capitalised, so a title such as SEO for builders: a practical guide becomes Seo for Builders: A Practical Guide, with only the acronym needing a quick fix. Write your choice down in a simple style guide so everyone who edits the site follows it.
Fixing caps lock text and messy exports
The most common use for a case converter is rescuing text typed with caps lock on, or data exported from an old system in capitals. Convert it to Sentence case for paragraphs or Title Case for names and headings, then check proper nouns. Automatic conversion will turn LONDON ROAD into London Road correctly, but it cannot know that a product called iPHONE CASE should become iPhone case, or that BBC should stay in capitals.
Exports from spreadsheets, CRMs and PDFs also tend to carry extra spaces. The tidy spaces option collapses repeated spaces into one and removes spaces at the start and end of each line, which stops problems with lookups, sorting and duplicate checks later. Paragraph breaks are kept, and runs of several blank lines are reduced to one.
A typical job is cleaning a product list before importing it into an online shop. Supplier spreadsheets often arrive with names such as OAK DINING TABLE - 6 SEATER in capitals with stray spaces. Paste the column in, apply tidy spaces, convert to Title Case, then paste it back into the spreadsheet. Because each line is converted separately, the rows stay in the same order and line up with the prices and stock codes in the neighbouring columns. Check a few rows for brand names and measurements, such as 6ft or 180cm, before importing the whole list.
The same approach works for mailing lists and customer records, where names and addresses have been typed in a mix of styles. Converting a column of names to Title Case makes personalised emails look far more professional, though names such as McAllister, O'Brien and van der Berg may need a manual touch afterwards.
Naming conventions for code, files and URLs
Developers and anyone working with data use case styles as naming conventions, because spaces are not allowed or cause problems in variable names, file names and web addresses. The converter strips punctuation and joins the words in the chosen style, so a phrase such as Customer order total becomes customerOrderTotal, CustomerOrderTotal, customer_order_total or customer-order-total.
For web addresses, kebab-case in lower case is the standard choice: it is readable, and Google treats hyphens as word separators. If you are creating URLs, our Slug Generator goes further than kebab-case by removing accents, converting & to and and optionally dropping stop words and limiting length.
Capitals, accessibility and brand names
Long passages in capitals are harder to read because words lose their distinctive shapes, and some screen readers may read short words in capitals letter by letter as if they were acronyms. Where a design calls for capitals, it is usually better to type the text normally and apply capitals with CSS, so the underlying text stays readable for assistive technology and easy to change later.
Respect the way brands write their own names. Some use lower case or unusual capitals as part of their identity, and conversion tools will not know that. Keep a short list of names and terms your business uses often, and check them after converting.
The tool also includes an inverse case option, which swaps every capital for a lower-case letter and the other way round. It is the quickest fix for text accidentally typed with caps lock on while holding shift, which comes out as tHIS IS MY ADDRESS. Use it once and the text reads normally again.
Examples you can copy
One phrase in every style
Original the quick guide to vat returns
UPPER THE QUICK GUIDE TO VAT RETURNS
lower the quick guide to vat returns
Title Case The Quick Guide to Vat Returns (fix: VAT)
Sentence case The quick guide to vat returns (fix: VAT)
camelCase theQuickGuideToVatReturns
PascalCase TheQuickGuideToVatReturns
snake_case the_quick_guide_to_vat_returns
kebab-case the-quick-guide-to-vat-returns
CONSTANT_CASE THE_QUICK_GUIDE_TO_VAT_RETURNS
Common mistakes to avoid
Forgetting to check proper nouns
Converters cannot recognise every name, place or acronym. Fix items like NHS, VAT, McDonald and iPhone after converting.
Mixing heading styles across a site
Some headings in title case and others in sentence case looks careless. Choose one style and apply it everywhere.
Typing capitals instead of styling them
Text typed in capitals is harder to edit and can be read oddly by screen readers. Use CSS for visual capitals where possible.
Using spaces in file names and URLs
Spaces become %20 in web addresses and can break scripts. Use kebab-case or snake_case instead.
Writing paragraphs in upper case
Capitals reduce readability and can come across as shouting. Keep them for short labels.
Frequently asked questions
It capitalises the main words and keeps short words such as a, an, the, and, of and in lower case unless they start the title, which matches common UK and US headline style.
No. The conversion runs in your browser, so nothing you paste leaves your device.
Title case capitalises the main words of a heading. Sentence case capitalises only the first word and proper nouns, like an ordinary sentence.
The converter applies the same rule to every word, so it cannot tell that VAT or HMRC should stay in capitals. Fix them by hand after converting.
camelCase starts with a lower-case letter, as in orderTotal. PascalCase capitalises the first letter too, as in OrderTotal. Both remove spaces.
Use kebab-case with hyphens. Google treats hyphens as word separators and they are the common convention for readable web addresses.
Yes. Each line is converted separately and the line breaks stay where they were, so lists and spreadsheet columns paste back cleanly.
It replaces runs of several spaces with one and removes spaces at the start and end of each line, without changing the capitalisation.
Learn more
- Title Tags and Meta Descriptions That Get Clicked in 2026 How to write title tags and meta descriptions people click, why Google rewrites them, and the template mistakes that make your search snippets worse.
- Title Case vs Sentence Case: Which Should Your Website Use? Title case vs sentence case for headings, buttons and SEO titles: what UK style guides like GOV.UK recommend, the rules for each, and how to stay consistent.
Free website audit
See how your site scores, free
Speed, SEO, DNS, email (SPF/DKIM/DMARC) and security in one scan, with a prioritised fix list.