SYMBOL SET REFERENCE

Classic ALT Codes (CP437)

Type , , , , , with single-digit ALT codes.

These are the original ALT codes from IBM's PC Code Page 437, the character set used in MS-DOS and early Windows. Unlike modern ALT codes which need a 4-digit number starting with 0 (like Alt+0225 for á), these use just 1 or 2 digits: Alt+3 for ♥, Alt+1 for ☺. They've been supported in every version of Windows since the 1980s and remain the go-to for typing hearts, smiley faces, card suits, and music notes in chat, documents, and filenames.
Tap any character to copy — no need to type codes. Characters go straight to your clipboard, paste anywhere.

Quick Facts

Characters covered
ALT+1 through ALT+15 — 15 classic graphical characters
Key difference
No leading zero. Alt+3 (heart) is different from Alt+0003
Origin
IBM Code Page 437, 1981 — the original PC character set
Still supported
Yes — works on every modern Windows and in most text fields

About Classic

Why these codes don't need a leading zero. Windows has two parallel ALT code systems. Codes starting with 0 (like Alt+0225) use the Windows-1252 character set — what you want for accented letters. Codes without the leading zero (like Alt+3) use the older IBM Code Page 437 from MS-DOS. Most modern characters you want are in Windows-1252. But for the old-school graphical characters (smileys, hearts, card suits), you need the no-leading-zero codes.

The most famous: ALT+3 for ♥. This is probably the most-searched ALT code in the world. Ancient IRC users, early AIM chatters, anyone who wanted to add a heart to a chat message, all learned Alt+3. It still works today — in Word, browsers, and most messaging apps.

The smileys: ALT+1 and ALT+2. Alt+1 gives you ☺ (white smiley). Alt+2 gives you ☻ (black smiley, outlined). Predating emojis by decades, these were the original digital smiley faces.

Card suits: ALT+3, 4, 5, 6. The four playing card suits in order: ♥ heart (3), ♦ diamond (4), ♣ club (5), ♠ spade (6). Note that in the original IBM order, hearts come first — not spades as many modern card programs order them.

Gender symbols: ALT+11 and ALT+12. ♂ (male, Alt+11) and ♀ (female, Alt+12) were included in CP437. The same symbols are also Mars and Venus in astronomy.

Music notes: ALT+13 and ALT+14. ♪ (single eighth note, Alt+13) and ♫ (beamed eighth notes, Alt+14). Common for music-related chat usernames and decorative text.

Sun/star: ALT+15. ☼ (Alt+15) is a sun/compass-rose character, sometimes used as a bullet or decorative glyph.

These work everywhere classic. Word, Notepad, file names, email, old chat clients. Some modern web apps may strip or substitute them with emoji — but the Unicode glyph is still copy-pasteable from this page.

Frequently Asked Questions

What is the ALT code for a heart (♥)?
Alt+3. Just a single digit, no leading zero. Hold Alt, press 3 on the numeric keypad, release Alt. Works in Word, Notepad, browsers, chat apps.
What is the ALT code for a smiley face (☺)?
Alt+1 for the white smiley ☺. Alt+2 for the black (outlined) smiley ☻.
What is Alt+5?
Alt+5 produces ♣ (club). Part of the classic card suit series: Alt+3 ♥, Alt+4 ♦, Alt+5 ♣, Alt+6 ♠.
Why does Alt+3 produce a heart but Alt+0003 doesn't?
Two different character sets. Alt+3 uses the old IBM Code Page 437 where code 3 is ♥. Alt+0003 (with leading zero) uses Windows-1252 where code 3 is a non-printable control character. The leading zero is the switch between the two systems.
Do these classic ALT codes work on Mac?
Most don't directly. Mac uses Option-key combinations instead. For ♥: copy from this page, or use Mac Character Viewer (Ctrl+Cmd+Space) and search 'heart'.
Can I use these in filenames and URLs?
Filenames yes, URLs generally no. Windows and macOS both support these Unicode characters in filenames. URLs need to be ASCII-only, so the characters would need to be percent-encoded — which defeats the purpose. Stick to text editors and documents.