Parts and Keys

What is a keyboard used for?

A keyboard is used to enter text, numbers and commands into a computer or other device. Learn its main uses and how it descends from the typewriter keyboard.

On this page
  1. Short answer
  2. What keyboards are used for
  3. What typewriter keyboards were used for
  4. Other kinds of keyboard
  5. Learn more

Short answer

A keyboard is used to enter text, numbers, symbols and commands into a device. On a computer it sends your keystrokes to software. On a typewriter it works mechanically, so each key you press prints a character on paper.

What keyboards are used for

On a computer or similar device, a keyboard is typically used to:

  • Type text: write documents, emails, messages and code.
  • Enter numbers: use the number row or a separate numeric keypad.
  • Move around: arrow keys and keys such as Home, End, Page Up and Page Down move the cursor or scroll.
  • Edit: Backspace deletes the character to the left, and Delete removes the one to the right.
  • Run commands and shortcuts: modifier keys such as Control, Alt, Shift, Command or the Windows key combine with other keys for shortcuts, such as copy and paste.
  • Control software: function keys and the Escape key trigger program-specific actions or cancel something.

Phones and tablets usually use an on-screen keyboard instead of physical keys.

What typewriter keyboards were used for

A typewriter keyboard has a narrower job: printing characters on paper. Pressing a key swings a typebar to the page, and a few special keys control spacing, shift, tabs and margins. There is no screen and no editing. See What was the main function of a typewriter? for why that mattered, and Typewriter Keys and Their Functions for the keys themselves.

Computer keyboards inherited their basic layout, including QWERTY, from the typewriter, though the keys work very differently. Details are in Parts and Characteristics of a Typewriter Keyboard.

Other kinds of keyboard

The word is also used for the keys of a piano, organ or synthesizer, where each key plays a note instead of printing a character. In printing, a keyboard can also mean a machine used to set type. Context usually makes the meaning clear.

Learn more

The complete guide to parts and keys

Parts of a Typewriter: A Complete Anatomy Guide
Read the guide

Keep exploring

Guides from other topics

All topics →