CHAR function

This article describes the formula syntax and usage of the CHAR function in Microsoft Excel.


Returns the character specified by a number. Use CHAR to translate code page numbers you might get from files on other types of computers into characters.

Operating environment

Character set


Macintosh character set





The CHAR function syntax has the following arguments:

  • Number    Required. A number between 1 and 255 specifying which character you want. The character is from the character set used by your computer.

    Note   Excel Online supports only CHAR(9), CHAR(10), CHAR(13), and CHAR(32) and above.


Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.





Displays the character represented by 65 in the computer's character set.



Displays the character represented by 33 in the computer's character set.


Applies To: Excel 2016, Excel 2010, Excel Starter, Excel 2013, Excel Online, Excel 2016 for Mac, Excel for Mac 2011, Excel 2007

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language