String Case Converter Online

Online Text tool that can convert your text to the case of your choosing.

Stop rewriting mistakes!

Input
Characters: 0
Words: 0
Lines: 0
Size: 0
Output
Characters: 0
Words: 0
Lines: 0
Size: 0

Convert Case

Have you ever written a long email only to notice that a portion of it has been all in lowercase? While word and email applications provide a good grammar and spell correction functionalitys, they do not provide text case corrections. Instead of going line by line fixing those mistakes, you can simply copy and paste your text here and correct it by choosing on of the options above

Text Conversion Code Examples

Developers... I see you 👀

javascript logo Javascript
php logo Php
python logo Python

How do I convert a string to: ?

  • Lower case
  • Upper case
  • Capitalize
  • Sentence case
    Javascript has a build in function toLowercase().
                        string.toLowercase();            
    Javascript has a build in function toUpperCase().
                        string.toUpperCase();            
    There are various ways to capitalize a string in javascript. You can use the one liner below or you can discover another way here
                        string.replace(/(?:^|\s)\S/g, function(a) { return a.toUpperCase(); })            
    Use this. Trust me it works
                        string.toLowerCase().replace(/(^\s*\w|[\.\!\?]\s*\w)/g,function(c){return c.toUpperCase()});            
  • Lower case
  • Upper case
  • Capitalize
    PHP has a the build in function to lower case a string strtolower()
                        $value = strtolower($value);            
    PHP has a the build in function to upper case a string strtoupper()
                        $value = strtoupper($value);            
    You can capitalize a string by using PHP build in function ucwords()
                        $value = ucwords($value);            
  • Lower case
  • Upper case
  • Capitalize
    .lower() is a Python build in function to handle the conversion of all upper case characters to their lowercase counterparts
                        
                            string = "Make THIS to lowercase"
    string.lower()
    .upper() is a Python build in function to change all the characters to upper case
                        'Hello world'.upper()            
    Capitalization of words with Python is easy to achieve by using the build in function .title()
                        'Hello world'.title()            

Conversion Types

Lower Case

im a sentence in lower case

Using lowercase letters in any of these cases typically indicates that the communication is casual or informal, such as in text messages or online posts.

Upper Case

IM A SENTENCE IN UPPER CASE

Typing an entire message in upper case is considered equivalent to shouting.

Capitalize Case

This Is A Sentence In Capitalize Case

Capitalization is writing every first letter of a word with a capital letter. Can also be referenced as title case

Sentence Case

This is an example of sentence case

Sentence case (uncountable) The standard capitalisation of an English sentence, with the first letter uppercase and subsequent letter lowercase with exceptions such as proper nouns or acronyms.

Alternate Case

ThIs iS An eXaMpLe oF AlTeRnAtE CaSe

A form of capitalization where capital letters are randomly placed throughout the word(s), now used to convey mockery through text messages.

Camel Case

ThisIsCamelCase

A typographical convention in which an initial capital is used for the first letter of a word forming the second element of a closed compound, e.g. PayPal, iPhone, MasterCard. Commonly used in some programming languages

Snake Case

this_is_a_sentence_in_snake_case

Snake case (stylized as snake_case) refers to the style of writing in which each space is replaced by an underscore (_) character, and the first letter of each word is written in lowercase. It is a commonly used naming convention in computing, for example for variable and subroutine names, and for filenames.

Kebap Case

this-is-a-sentence-in-kebap-case

Kebab case -- or kebab-case -- is a programming variable naming convention where a developer replaces the spaces between words with a dash. You know just like a kebap.. :)

Pascal Case

Im A Sentence In Pascal Case

Pascal case -- or PascalCase -- is a programming naming convention where the first letter of each compound word in a variable is capitalized.

String Tools
JSON
Calculators
Encryption