Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Putting Character Codes to Work.

Putting Character Codes to Work

Written by Allen Wyatt (last updated November 26, 2021)
This tip applies to Word 2007, 2010, 2013, and 2016


1

If you know the ASCII or ANSI codes for a particular character, and you want to enter it into your document, you can do so by holding down the Alt key and using the numeric keypad. If you enter a three-digit code, then Windows assumes you want the ASCII character associated with that code. If you enter a four-digit code, then Windows assumes you want the ANSI character associated with that code.

For instance, the ASCII code for an uppercase A is 65. You could enter this character by holding down the Alt key and pressing 065 (a three-digit code) on the numeric keypad. It just so happens that this is the same as the ANSI code for an uppercase A, as well. Thus, you could hold down the Alt key and press 0065 (a four-digit code) for the same result. This works because the ASCII and ANSI codes are the same for all values between 0 and 127. When you work with values between 128 and 255, they are different.

You can see this difference by holding down the Alt key and pressing 163 (a three-digit code) on the numeric keypad. This inserts a foreign language character in your document. If you instead use a four-digit code for the same number (hold down the Alt key and press 0163), Word inserts the symbol for the British pound.

You should also know that you can use the Alt key with a regular value. For instance, you can type Alt and then the number 3 on the keypad. This inserts a character for a heart. The values between 0 and 31 do not represent printable characters in either ASCII or ANSI codes. If you hold down the Alt key and enter a number between 1 and 31 on the numeric keypad, Word inserts various miscellaneous dingbat characters in your document. The best way to see how this works is to simply try it in a document of your choosing.

To insert the full range of Unicode characters into your document, you cannot use the simple approach of holding down the Alt key and using the numeric keypad. Instead, you must display the Symbols dialog box. (Display the Insert tab of the ribbon, click Symbol in the Symbols group, and then click More Symbols.) You can then choose a font and a Unicode subset. Word then displays the available characters in the dialog box, and you can select the character you want to insert.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11219) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Putting Character Codes to Work.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing and Exiting Word in a Macro

When you print a document, Word remains busy in the background until the printing is done. If you try to end the program ...

Discover More

Odd Page Numbers Disappearing

Page numbers in printed pages are often a necessary part of formatting a document. What do you do if your printed output ...

Discover More

Three-Dimensional Transpositions

Excel makes it easy to transpose your data so that rows become columns and columns rows. It doesn't have a built-in ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Slowing Down Mouse Selection

We've all experienced the problem: You start selecting a large block of text using the mouse, and before you know it the ...

Discover More

Transposing Two Paragraphs

Need to swap two adjacent paragraphs? Your editing arsenal can include a command to do this if you use the macro in this tip.

Discover More

Jumping to a Relative Page

When you are navigating around your document, you may find it helpful to jump a certain number of pages either toward the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

2021-11-27 08:55:55

Ethan Hack

Thank you for the recent "Daily Nugget" reminder! That stimulated me to investigate further, and what I found out may be useful or interesting to some people.
- Strictly speaking, Alt plus a three-digit code less than or equal to decimal 255 enters a character from the original IBM PC character set, referred to as Code page 437. That's worth knowing because one can find out what characters one will get by searching for "Code page 437", e.g. in Wikipedia.
- Confusingly, Word (Word 365 at least) refers to the "ANSI" codes described above as "ASCII". More precisely, this is the Windows-1252 character set.
- Although the ANSI/ASCII/Code page 437/Windows-1252 character sets stop at 255 because they are limited to 1 byte, it is possible to enter characters with higher numbered (2 byte) character codes without using the Insert Symbol dialogue (only useful if you know what the character code is, of course). You can either type the character code as a hex number then press Alt-X (the Insert Symbol dialogue shows this) or as ALT + a decimal number using the numeric keypad, for example ALT+15000 (㪘). Rather impressively, Word selects a font that contains the desired character (such as a Chinese character) without being told to.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.