• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Easy Case Converter Logo 60

EasyCaseConverter

Online Case Converter Tools

  • Home
  • Blog
  • About Us
  • Contact Us
  • Privacy Policy

Easy Case Converter Articles

Change Case to Lowercase and Uppercase in Javascript

August 10, 2020 by adminecc Leave a Comment

This article explains how to change case to lowercase and uppercase in Javascript.

Javascript has two methods to change a string to lowercase and uppercase, called toLowerCase() and toUpperCase(), respectively.

The toLowerCase()

The toLowerCase() is a built-in method that returns the calling string value converted to lowercase.

The following Javascript code is an example of the use of toLowerCase() method:

<!DOCTYPE html>
<html>
<head>
   <title>toLowerCase Javascript</title>
   <script>
      function convertStr(){
         var str = "UPPERCASE";
         var res = str.toLowerCase();
         document.getElementById("result").innerHTML = res
      }
   </script>
</head>
<body>
   <button onclick="convertStr()"> Convert to Lower Case </button>
   <p id="result"></p>
</body>
</html>

Output:

lowercase in Javascript

The toUpperCase()

The toUpperCase() is a built-in method that returns the calling string value converted to uppercase.

The following Javascript code is an example of the use of toUpperCase() method:

<!DOCTYPE html>
<html>
<head>
   <title>toLowerCase Javascript</title>
   <script>
      function convertStr(){
         var str = "lowercase";
         var res = str.toUpperCase();
         document.getElementById("result").innerHTML = res
      }
   </script>
</head>
<body>
   <button onclick="convertStr()"> Convert to Upper Case </button>
   <p id="result"></p>
</body>
</html>

Output:

uppercase in Javascript

How to Uppercase the First Letter of a String in Javascript

Method toUpperCase() will convert the whole characters in a string to uppercase.

Sometimes we only want to uppercase only the first letter of a string.

Uppercase Only The First Letter of a String

To uppercase only the first letter of a string in Javascript, we could use toUpperCase() and slice() method as follows:

<!DOCTYPE html>
<html>
<head>
   <title>toLowerCase Javascript</title>
   <script>
      function CapsFirstLetter(){
         var str = "how to capitalize only the first letter";
         var res = str[0].toUpperCase() + str.slice(1); 
         document.getElementById("result").innerHTML = res
      }
   </script>
</head>
<body>
   <button onclick="CapsFirstLetter()"> Capitalize First Letter </button>
   <p id="result"></p>
</body>
</html>

Output:

Capitalize Only The First Letter

The str[0].toUpperCase() will uppercase the first letter of the word “how”, which is “h” letter in the “how to capitalize only the first letter” string.

And str.slice(1) is a method to slice a string according to the passed parameters.

slice(start, end) has two parameters. The first parameter (start) is required. It specifies the position where to begin the slicing.

The second parameter (end) is an optional parameter. It specifies the position to end the slicing. If this parameter is omitted, it selects all characters from the start.

The string index starts at position 0.

So str.slice(1) means slicing the string starting from index 1 to last index since the second parameter is omitted.

Filed Under: article

Change Case to Lowercase and Uppercase in Python

August 4, 2020 by adminecc Leave a Comment

This article explains how to change case to lowercase and uppercase in python.

Python has a built-in method related to string handling.

You are not only can check whether the string is lowercase or uppercase, but you also can change a string to one of these case characteristics.

In this article, we will explain four of python’s built-in methods to check and change the string.

isupper()

isupper() is a built-in method used to check if the argument contains any uppercase characters such as ABCDEFGHIJKLMNOPQRSTUVWXYZ.

The following python code is an example of the use of isupper() method:

str = 'UPPERCASE'
print(str.isupper())

str = 'Some UPPER'
print(str.isupper())

Output:
True
False

isupper() method does not take any parameters. It returns True if all characters in the string are uppercase, and it returns False if the string contains one or more non-uppercase characters.

islower()

opposite to isupper() method, islower() method used to check if the argument contains any lowercase characters such as abcdefghijklmnopqrstuvwxyz.

The following python code is an example of the use of islower() method:

str = 'lowercase'
print(str.islower())

str = 'Some lower'
print(str.islower())

Output:
True
False

islower() method does not take any parameters. It returns True if all characters in the string are lowercase, and it returns False if the string contains one or more non-lower characters.

Both, isupper() and islower() methods will return True for whitespace, digits, and symbols

To convert a string to lowercase and uppercase, we can use lower() and upper() method respectively.

Lowercase and Uppercase in Python

lower()

lower() is a built-in method used to converts all uppercase characters to lowercase. It will return the original string if there are no uppercase characters.

The following python code is an example of the use of lower() method:

str = 'UPPERTOLOWER'
print(str.lower()) 
  
str = 'UpPer 123 ? lower'
print(str.lower()) 

Output:
uppertolower
upper 123 ? lower

upper()

upper() is a built-in method used to converts all lowercase characters to uppercase. It will return the original string if there are no lowercase characters.

The following python code is an example of the use of upper() method:

str = 'lowertoupper'
print(str.upper()) 
  
str = 'lower 123 ? UpPer'
print(str.upper())

Output:
LOWERTOUPPER
LOWER 123 ? UPPER

As shown in the example, both lower() and upper() method does not take any arguments, and it will return digits and symbols as it is.

Filed Under: article Tagged With: in python, islower(), isupper(), lower(), lowercase, upper(), uppercase

How to Change Case in Excel?

May 29, 2020 by adminecc

In the previous article, we discuss how to change Case in Word. But this article, we will explain how to Change Case in Excel.

For your information, in this article, we use Microsoft Excel from Office 356.

Different from Microsoft Word, to change sentence case, we can do easily by using the Font Options or Sentence Case Button.

In Microsoft Excel, to change from one Case to another Case need to use a function. The subsequent section will explain how to change a mixed Case to lowercase, uppercase, and proper case.

To do this, you need to create a 4 x 6 table in excel, as shown in the figure below.

Microsoft Excel Table – EasyCaseConverter.com

The first column will fill by names with mixed case. The second until the fourth column will show the names with lowercase, UPPERCASE, and Proper Case, consecutively.

The example of names:

  1. LiAm BuRn
  2. NoAh WaTsOn
  3. WiLlIaM wHiTaKeR
  4. aLeXaNdEr WiLeY
  5. mIcHaEl HoLlOwAy

Change Mixed Case to lowercase

Change Case to lowercase – EasyCaseConverter.com

The “LOWER” function is required to change case to lowercase. The “LOWER” function takes one argument, which is a text.

In our example, the text that we want to change to the lowercase locates in column A2, A3, … A6. So all you need to do is fill the function argument with the column name as follows:

=LOWER(A2)

Change Mixed Case to UPPERCASE

Change Case to UPPERCASE – EasyCaseConverter.com

The “UPPER” function is required to change the case to uppercase. The “UPPER” function takes one argument, which is a text.

=UPPER(A2)

Change Mixed Case to Proper Case

Change Case to Proper Case – EasyCaseConverter.com

A PROPER function will change every first character of a word to UPPERCASE.

The “PROPER” function is required to change the case to a proper case. The “PROPER” function takes one argument, which is a text.

=PROPER(A2)

Filed Under: article

How to Convert Case using EasyCaseConverter.com?

May 29, 2020 by adminecc

This article explains how to convert a case using easycaseconverter.com, a free online case converter.

When writing an article, whether formal or informal, we need to consider the sentence case.

The use of proper uppercase and lowercase will help your reader comfortable, and if you write a formal article or letter, you cannot ignore this reference style.

Checking and changing the Case is a trivial task when the article is short. It becomes challenging when you write a lengthy article.

You need tools to help you out in checking and changing the Case.

The software like Microsoft Word might help you to do that kind of task. But how if you are in a mobile situation?

Read also: How to change sentence case in Microsoft Word?

A free online case converter like easycaseconverter.com might a better choice to help you in changing the Case of your article.

The next section is the three steps for you to convert a case using easycaseconverter.com

1. Write or Copy-Paste Your Text

Textarea – EasyCaseConverter.com

The first thing first that you have to do to convert a case is to write or copy-paste your text to the textarea of the easycaseconverter.com tool (as shown in the figure above).

2. Choose the Proper Convert Case Options

Convert Case Options – EasyCaseConverter.com

Below the textarea section of the tool, there are ten Convert Case Options you can choose (lower case, UPPER CASE, Capitalize Case, so on). You can pick one option that meets your need.

If you choose the Sentence Case, you will get a result as follows for the example from section one.

“Write or copy-paste your text here”

3. Copy or Download The Result

Copy or Download the Result – EasyCaseConverter.com

Easycaseconverter.com offers two options for you to get the result; copy to clipboard or download the result as a text file.

You can choose one of the options that better for you.

Filed Under: article Tagged With: Convert Case

Uppercase to Lowercase Converter

October 16, 2019 by adminecc Leave a Comment


Uppercase to lowercase converter is a tool to change your text case from uppercase to lowercase. The other function provided on this page is the Capitalize case, which capitalizes the first letter of every word, including prepositions, conjunctions, and articles.

The complete case conversion function is provided on the main page. You can access the page by simply type https://easycaseconverter.com in the address bar at your browser or just click the red button which locates at the top of the left sidebar of this page.

This page intended only for a user who needs the simple version of the case converter tool without being distracted by other unnecessary functions.

Convert letters from uppercase to lowercase

The lowercase text tool takes every letter in the text area and converts all to the lowercase letters. Lowercase refers to small letters. Lowercase is generally used for the letters in all words except at the beginning of the sentence.

Perform the following steps to convert letters to lowercase:

  1. Copy the text you want to convert from any word processor you are currently using.
  2. Open https://easycaseconverter.com/ or https://easycaseconverter.com/uppercase-to-lowercase-converter/
  3. Paste the text you copied into the provided text area on the page
  4. Click the “lowercase” button located in the below text area
  5. You should see the result in a few seconds in the text area

The “Copy” and “Download button” located above the text area, allow the user to copy the result to clipboard or download it as .txt file to local storage.

By using this tool will save you a lot of time and transform your text case quickly when you made an unintended change while editing the text. All you have to do is copy and paste your text, and then choose the case function provided.

Filed Under: article Tagged With: lowercase to uppercase, uppercase converter, uppercase to lowercase

Free Online Case Converter You Must Try

September 29, 2019 by adminecc Leave a Comment

Free online case converter is a free case converter tool to convert your text, word, and sentence into any formatted case.

Sometimes writing an article is challenging work. It is not just typing words into sentences. The right use of letter capitalization is also essential. Some materials related to this capitalization rule is widely available online.

These two articles, “what is uppercase,” and “what is lowercase.” will help you to understand how to use each case in the right way.

Every person has different preferences to edit or modify a text. An offline text editor like Microsoft Word (MS Word) offers many features for text editing.

But not all the MS Word text editing feature is needed every time. Sometimes, we only need a simple function like a sentence or word case, title case, or sentence case changer.

In some circumstances, a simple online text editor is the best choice to do simple text editing efficiently. This article provides three free online case converter to change your word or sentence case online.

We will describe these three tools based on its functionality, the information provided, and the pros and cons.

Easy Case Converter

Free Online Case Converter - EasyCaseConverter.com
Free Online Case Converter – EasyCaseConverter.com

Functionality

easycaseconverter.com (ECC) is one of many free online case converter tools. It has ten features to convert a text.

User can convert a text to the lowercase, uppercase, capitalized case, title case, sentence case, etc.

The first five feature is ubiquitous and available in other tools we discuss here. But the last five are unique; other tools do not always provide it.

ECC provides the functionality to restore the text to the previous version (one-step-undo) when the user chooses the wrong case conversion.

The clear button will help the user to erase the whole text instantly in the text editor when the user intends to work with the new one.

To obtain the result, ECC provides two options; copy it into clipboard or download it as .txt file.

For further instruction on how to use the easycaseconverter.com, user can access the brief guidance here

Information Provided

In the ECC text editor, there are three additional information provided. So the user can know the chosen action, the number of character(s), and the number of word of the text.

Pros:

  1. Standard functionality such as lowercase, uppercase, capitalized case, title case, and sentence case provided.
  2. Additional functionality such as inverse case, alternating case, hyphen case, snake case, and hyphen-snake to space converter, is also provided although it rare used by the user.
  3. Copy to clipboard and download features will make the user easy to obtain the result.
  4. A brief instruction on how to use the tools is available.

Cons:

  1. Demo text is not available. So the user must write a word or sentence to try it.

Convert Case

Free Online Case Converter - convertcase.net
Free Online Case Converter – convertcase.net

Functionality

Similar to easycaseconverter.com, convertcase.net provides common case converter functionality such as lowercase, uppercase, sentence case, title case, and capitalizing case.

The only difference is, there are only two additional case converter functionality; alternating case and inverse case.

User can obtain the result by copy to clipboard or download as .txt file.

Information Provided

convertvase.net not only display the number of character and word but also display the number of line of the text.

Pros:

  1. Standard functionality such as lowercase, uppercase, capitalized case, title case, and sentence case provided.
  2. Two additional functionality such as inverse case and the alternating case is also provided.
  3. User can copy the result to clipboard or download it as .txt. file.
  4. Additional information like the number of line of the text is displayed.

Cons:

  1. Demo text is not available. So the user must write a word or sentence to try it.
  2. The additional case converter options are limited.

Case Converter

Free Online Case Converter - html-cleaner.com/case-converter
Free Online Case Converter – html-cleaner.com/case-converter

Functionality

Case converter created by the html-cleaner.com website only provides four standard functionality of case converter; lowercase, uppercase, sentence case, and title case.

The unique additional case converter features are random case and pascal case, which will randomly convert the text case into lowercase and uppercase and generate concatenating capitalized words, respectively.

The other unique feature is a demo button that will provide the user with an initial paragraph to try the tool.

Information Provided

Case converter created by the html-cleaner.com website only displays two information, the number of word and character.

Pros:

  1. Standard functionality such as lowercase, uppercase, title case, and sentence case provided.
  2. Additional functionality such as alternating case, hyphen case, snake case, random case, and pascal, is also provided.
  3. A demo button to provide the user with an initial paragraph to try the tool.

Cons:

  1. User can only copy the result to clipboard.
  2. The standard case converter options are limited.

Filed Under: article Tagged With: Easy Case Converter, Free Online Case Converter, Online Case Converter

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Copyright © 2019 EasyCaseConverter.com