Convert Text Case

Transform your text into any case - uppercase, lowercase, title case, sentence case - or into the naming styles code uses, like camelCase and snake_case. One click each.

Select part of it to convert just that part
0 characters

Frequently asked questions

What is the difference between Title Case and Capitalized Case?

Capitalized Case raises the first letter of every word without exception. Title Case follows the headline convention instead: short joining words like and, of and the stay lowercase, while the first and last word are always raised whatever they are.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the words in a headline. Sentence case capitalizes only the first letter of each sentence, the way ordinary prose is written. A new line starts a new sentence, and a full stop after an abbreviation like Dr. or e.g. does not.

Does it keep acronyms like NASA and names like iPhone?

Yes, as long as Keep acronyms and names is ticked. A word with a capital after its first letter is taken as written on purpose and left alone in Title, Capitalized and Sentence case. Text typed entirely in capitals is the exception: there is no telling acronyms from shouting, so it is lowercased first. Untick the box to lowercase everything.

Can I convert only part of my text?

Yes. Select the words you want changed and press a case button, and only the selection changes. With nothing selected, the whole text converts.

What are camelCase, snake_case and kebab-case for?

They are the naming conventions code uses, and which one applies is decided by the language rather than by taste. camelCase suits JavaScript and Java variables, PascalCase suits classes and components, snake_case suits Python variables and SQL columns, CONSTANT_CASE suits constants and environment variables, and kebab-case suits URLs, CSS class names and file names.

Can I convert a name that is already in another convention?

Yes. The tool reads the words out of whatever it is given - spaces, underscores, hyphens or an existing camelCase hump - so userFirstName, user_first_name and User First Name all convert to any other style. A run of capitals is kept together, so HTTPServerError becomes http_server_error rather than h_t_t_p_server_error.

Can I convert a whole list of names at once?

Yes. Every style converts line by line. A pasted list of headlines comes back as a list of titles, each with its own first and last word raised, and a column of headings becomes a column of identifiers rather than one very long name.

Does it handle accented and non-English characters?

Yes. Case conversion uses your browser's built-in Unicode rules, so accented letters convert correctly. The code styles are the exception by design: an identifier drops anything that is not a letter or a digit, because most languages will not accept it in a name.

Can I undo a conversion?

Yes. Ctrl+Z, or Cmd+Z on a Mac, steps back the way it does in any text field, so a mis-clicked UPPERCASE on a long paste is not the end of it.

What is alternating case actually for?

Almost entirely for the mocking tone people use on social media. It is a poor choice for anything you want read properly: it slows down human readers and gives search engines nothing extra.