A screenshot is a picture of what is on your screen. You will use them constantly in this course: to show an error, to share what an AI model produced, or to ask for help.
Your computer already knows how to take one. You do not need extra software, and you should never photograph your screen with your phone.
| What you want | Press |
|---|---|
| Part of the screen | Shift + Command + 4, then drag a box |
| One window | Shift + Command + 4, then press Space and click the window |
| The whole screen | Shift + Command + 3 |
| Menu with all the options | Shift + Command + 5 |
The screenshot is saved to your Desktop as a .png file. A small thumbnail appears in the bottom-right corner for a few seconds. Click it to crop or mark it up before it saves.
Hold Control with any of these shortcuts to copy the screenshot to your clipboard instead of saving a file. Then paste it with Command + V.
| What you want | Press |
|---|---|
| Part of the screen | Windows + Shift + S, then drag a box |
| One window | Windows + Shift + S, then pick Window in the toolbar and click the window |
| The whole screen | Windows + Shift + S, then pick Fullscreen |
| Whole screen, saved as a file | Windows + PrtScn |
Windows + Shift + S copies the screenshot to your clipboard and shows a notification. Click the notification to crop, mark it up, or save it. Otherwise, paste it with Ctrl + V.
Windows + PrtScn saves a file to Pictures → Screenshots.
| What you want | Press |
|---|---|
| Part of the screen | Shift + Ctrl + Show Windows (the key with a rectangle and two lines), then drag a box |
| The whole screen | Ctrl + Show Windows |
Screenshots are saved to Downloads and copied to your clipboard.
Sometimes the thing you need to capture is on your phone.
- iPhone: press the side button and volume up at the same time.
- Android: press power and volume down at the same time.
The screenshot lands in your photos. AirDrop, email, or message it to yourself to get it onto your computer.
- Capture the whole message. If it is an error, include the full text, not just the red part.
- Include the address bar. When something is wrong on a website, the URL is often the first thing anyone asks for.
- Crop to what matters. A tight screenshot of the problem beats a full-screen shot with a tiny problem in the corner.
- Use a screenshot, not a photo. A phone photo of a laptop screen is blurry, tilted, and hard to read.
- Text beats pictures for code. If you can select the text, copy and paste it instead. Screenshots of code cannot be searched or run.
- Nothing happened. On a Mac, check System Settings → Privacy & Security → Screen Recording if an app is blocking it. On Windows, make sure you pressed Windows + Shift + S, not just Shift + S.
- Cannot find the file. Mac saves to the Desktop. Windows + PrtScn saves to Pictures → Screenshots. Windows + Shift + S only copies unless you click the notification and save.
- Sent the wrong thing. Look at the screenshot before you share it. Close tabs or windows you do not want in the picture.