A case converter for headlines, spreadsheets and code
Typing a whole paragraph with caps lock on, or needing a headline in title case, is annoying to fix by hand. This case converter changes the capitalisation of any text in one click: uppercase, lowercase, sentence case, title case, and a few playful ones such as aLtErNaTiNg cAsE.
One case converter for writers and programmers
The same box handles headlines in title case, and it works as a camelCase and snake_case converter for code. PascalCase, kebab-case, CONSTANT_CASE and dot.case are there too. Paste a phrase like "user profile photo" and you get userProfilePhoto or user_profile_photo, depending on which button you press. Each line is converted on its own, so you can paste a whole list of names, column headings or variable names and convert them all in one go.
How to use Case Converter
- Paste or type your text. Several lines are fine, and each line is converted separately.
- Choose a style from the Convert to menu, for example Title Case, snake_case or UPPERCASE.
- Solve the security check and press Convert.
- Read the result in the second box.
- Copy it or download it as a text file. Use Clear to start again.
About Case Converter
Upper and lower case use your browser's standard letter rules, so accented letters like é and ü are handled. Title Case capitalises every word except short joining words such as "a", "of" and "the", which stay lowercase unless they come first or last. Sentence case lowercases the text first and then capitalises the first letter after each full stop, question mark or exclamation mark. For the programming styles, the text is split into words at spaces, punctuation and at lower-to-upper letter changes, so "parseHTTPResponse" becomes parse_http_response in snake case.
Purpose of Case Converter Tool
The usual jobs are fixing text typed with caps lock on, formatting article headlines, tidying a spreadsheet column of names, and renaming variables, files or URL slugs. Developers use the snake, kebab and camel options to move between coding styles, for example kebab-case for a URL and camelCase for the matching JavaScript variable. It changes letters only, so it will not fix spelling or grammar.
Limitations of Case Converter
- Title Case follows a simple rule, not a style guide. AP, Chicago and APA disagree about which small words stay lowercase, so check headlines for a publication with a strict style.
- Sentence case lowercases everything first, so names, acronyms and words like iPhone or NASA lose their capitals. Fix those by hand afterwards.
- The programming styles keep only letters and numbers. Punctuation, symbols and emoji are dropped, so "Total (USD)!" becomes total_usd in snake case.
- Language rules are generic. Turkish dotted and dotless i are not handled specially, German ß becomes SS in uppercase, and scripts without capital letters, such as Bengali or Chinese, do not change.
- Converting to a style and back does not always restore the original, because case, spaces and punctuation are lost along the way.
Privacy and data
Case Converter runs entirely in your browser. What you type or select is processed on your own device and is never sent to or stored on our server. See our Privacy Policy for details.
Frequently asked questions
How do I change uppercase to lowercase online?
Paste your text, choose the lowercase option and run the converter. Pick UPPERCASE for the reverse, or title case, sentence case, camelCase and snake_case for other styles. The result can be copied in one click.
What is the difference between title case and sentence case?
Title case capitalises most words, as in "How to Bake a Loaf of Bread". Sentence case capitalises only the first word and proper nouns, as in "How to bake a loaf of bread". Some publishers prefer sentence case for headlines.
Is the case converter free and safe to use?
Yes. The case converter is free to use and runs in your browser, so your text is not uploaded, stored or logged.
Which case style should I use in code?
Follow the convention of your language: camelCase for JavaScript variables, snake_case for Python and SQL, PascalCase for class names and kebab-case for URLs and CSS classes. Your team's style guide beats any general rule.
What are camelCase, snake_case and kebab-case?
camelCase joins words and capitalises each one after the first, like myVariableName. snake_case joins lowercase words with underscores, like my_variable_name. kebab-case uses hyphens, like my-variable-name, and is common in URLs and CSS.
Rate Case Converter
No ratings yet. Be the first to rate this tool.
Report a bug or give feedback
Popular tools
Morse Code to Text
Decode Morse code made of dots and dashes into readable text, with flexible separators and error marking.
Text ToolsWebpage URL to Text
Turn a web page address, pasted page source or an HTML file into clean readable text without ads and menus.
Text ToolsASCII to Text Converter
Decode decimal, hex or octal ASCII codes into text, with auto-detection, a code table, control-character names and clear errors for bad codes.
Text ToolsBinary to Text Converter
Decode binary into text as UTF-8, 7-bit ASCII or 16-bit UTF-16, with or without spaces, and find exactly what is wrong when it will not decode.
Text ToolsBMI Calculator
Work out your BMI, category and healthy weight range in metric or imperial units.
Health ToolsBullet List Generator
Turn lines, commas or sentences into a bullet, numbered or checklist, with nested levels, as text, Markdown or HTML.
Text Tools