sodcalculator

10 Tech How-To

How to Open & Use Notepad in Windows 10

Guide 10-31059 · Updated · Step by step

Notepad is a simple text editor built into Windows 10. It lets you create, view, and edit plain text files. This guide shows you how to open it, use its basic features, and avoid common pitfalls. No prior experience is needed.

What You’ll Need

  • A PC running Windows 10
  • Basic familiarity with using a mouse and keyboard

Step-by-Step

  1. Open Notepad. Click the Start button (Windows logo) in the lower-left corner. Type notepad in the search box. Click the Notepad app from the results. Alternatively, press Windows key + R, type notepad, and press Enter.
  2. Type your text. The cursor is already in the text area. Just start typing. Notepad does not format text (no bold, italics, or colors) – it only handles plain text.
  3. Save your file. Go to File > Save (or press Ctrl + S). Choose a location, type a file name, and click Save. By default, it saves as a .txt file.
  4. Open an existing file. Go to File > Open (or press Ctrl + O). Navigate to the file, select it, and click Open. Notepad can open any plain text file.
  5. Use Find and Replace. Press Ctrl + F to find text. Press Ctrl + H to replace text. Type what you’re looking for and what to replace it with, then click Replace All if needed.
  6. Enable Word Wrap. For long lines, go to Format > Word Wrap. This makes text wrap to the window width instead of extending horizontally.
  7. Change the font. Go to Format > Font to change the font style, size, and script. This only affects how it looks on screen, not the file content.
  8. Use the status bar. The status bar at the bottom shows line and column numbers (if enabled). To turn it on, go to View > Status Bar.
  9. Print your document. Go to File > Print (or press Ctrl + P). Adjust settings and click Print.
  10. Close Notepad. Click the X in the top-right corner. If you have unsaved changes, you’ll be prompted to save.

Common Mistakes

  • Not saving before closing. If you close without saving, you lose your work. Always press Ctrl + S frequently.
  • Using Notepad for formatted documents. Notepad is for plain text only. If you need bold, headings, or images, use WordPad or a full word processor.
  • Forgetting to enable Word Wrap. Long lines can be confusing. Turn on Word Wrap to see all text on screen.
  • Changing the file extension. When saving, if you type notes.txt but the file is saved as notes.txt.txt, it may not open correctly. Check the file name.

Tips

  • Use keyboard shortcuts. Ctrl + N for new, Ctrl + O for open, Ctrl + S for save, Ctrl + A for select all, Ctrl + Z for undo.
  • Create a desktop shortcut. Right-click on Notepad in the Start menu, select More > Open file location, then right-click Notepad and choose Send to > Desktop.
  • Use Notepad for quick notes. It opens instantly and doesn’t clutter with toolbars.
  • Save as different encodings. When saving, choose the encoding (ANSI, UTF-8, etc.) from the Encoding dropdown. UTF-8 is a good default for compatibility.
  • Pin to taskbar. Right-click the Notepad icon on the taskbar and select Pin to taskbar for one-click access.

Troubleshooting

  • Notepad won’t open. Try restarting your PC. If it persists, run the Windows System File Checker: open Command Prompt as administrator and type sfc /scannow.
  • File opens with garbled characters. The file may be in a different encoding. Try opening it with a different encoding by going to File > Open, selecting the file, and choosing the correct encoding from the dropdown.
  • Can’t find a file you saved. Check the default save location (usually Documents). Use the search box in File Explorer.
  • Notepad is very slow. If you have a huge file (hundreds of MB), Notepad may lag. Consider splitting the file or using a more powerful editor.
  • Changes not saved automatically. Notepad does not autosave. You must save manually. Use Ctrl + S often.

Frequently Asked Questions

Can I use Notepad to write code?

Yes, you can write code in Notepad, but it lacks syntax highlighting and auto-completion. For serious coding, use a dedicated editor like Visual Studio Code.

How do I make Notepad the default text editor?

Right-click a .txt file, select Open with > Choose another app, pick Notepad, and check Always use this app.

Can I recover unsaved Notepad content?

If Notepad crashes, Windows may offer to restore unsaved files on restart. Otherwise, unsaved work is lost. Enable File History or save frequently.

Does Notepad have a dark mode?

Notepad follows the Windows theme. If you enable Dark Mode in Windows Settings (Personalization > Colors), Notepad will use a dark background.

How do I print with line numbers?

Notepad doesn’t print line numbers by default. You can add them manually or copy the text to WordPad and use its print options.

Why does my file have .txt at the end?

That’s the file extension for text files. It tells Windows which program to open it with. You can hide extensions in File Explorer, but it’s not recommended.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →