The styles
| Style | Turns “the lord of the flies: a guide for UK students” into |
|---|---|
| Sentence case | The lord of the flies: a guide for UK students |
| lower case | the lord of the flies: a guide for uk students |
| UPPER CASE | THE LORD OF THE FLIES: A GUIDE FOR UK STUDENTS |
| Title Case | The Lord of the Flies: A Guide for UK Students |
| Capitalised Case | The Lord Of The Flies: A Guide For UK Students |
How Title Case works
Most UK publishers capitalise the important words in a title and leave short joining words in lower case. The converter follows those rules:
- Lower case: a, an, the, and, but, or, nor, for, so, yet, and short prepositions such as of, in, on, at, to, by and per.
- Always capitalised: the first and last word, and the first word after a colon or dash, so a subtitle starts with a capital.
- Hyphenated words: each part gets a capital, as in Well-Known or Self-Employed.
- Left alone: acronyms such as UK and HMRC, and names with capitals inside them, like iPhone or YouTube.
Style guides disagree on the edge cases, such as whether to capitalise longer prepositions like about or between. If you’re writing for a publisher, check their house style.
Sentence case
Sentence case puts a capital at the start of each sentence and on “I”, and lowers everything else except acronyms and mixed-case names. It’s the style GOV.UK and the BBC use for headings. Names of people, places and brands that are written in ordinary lower case can’t be recognised, so check those afterwards.
Styles for code
The code styles join words together without spaces. Each line of your text becomes one name, so you can paste a list of field names and convert them all at once. Punctuation is removed, and existing camelCase or snake_case names are split into words first, so you can convert from one style to another.
| Style | “user first name” becomes | Often used for |
|---|---|---|
| camelCase | userFirstName | JavaScript variables, JSON keys |
| PascalCase | UserFirstName | Class and component names |
| snake_case | user_first_name | Python, Ruby and database columns |
| kebab-case | user-first-name | URLs, CSS classes and file names |
| CONSTANT_CASE | USER_FIRST_NAME | Constants and environment variables |
Your text stays private
Everything happens in your browser. Your text isn’t uploaded, logged or stored on a server. It’s kept in this browser tab only, so a refresh doesn’t lose it, and it’s gone when you close the tab.