Updated: 07/12/2017 by Computer Hope

CamelCase and other examplesAlternatively referred to as bicapitalisation, medial capitals, and Pascal case, the term CamelCase describes a compound word which uses capital letters to delimit the word parts. (The name refers to the internal capital letters, which resemble the humps on a camel's back.) For example, "ComputerHope", "FedEx", and "WordPerfect" are all examples of CamelCase. In computer programming CamelCase is often used as a naming convention for naming variables, arrays, and other elements. For example, $MyVariable is an example of a variable that uses CamelCase.

Converting text into CamelCase can be as simple as using a singular regular expression, as shown in the below Perl example.

my $camelcase = "This is a test.";
$camelcase =~ s/ ([a-z])/\u$1/g;

The above example, would convert "This is a test." into "ThisIsATest."

Use the below conversion tool to convert any text into CamelCase and other forms of converted text.

Conversion Tool:

Pascal, Programming terms, Underscore