Want more out of the plain text editor that comes with every Windows PC?

Notepad can do a lot more than it used to. In Windows 11, it has tabs, formatting, spell check and AI, and several of my old tricks still work.

When I first wrote this list in 2016, Notepad was about as basic as an app could get. Most of the "tricks" were batch files you wrote in it.

Here, I'll show you the best Notepad tricks that still work, the newer features worth knowing, and the old pranks I removed and why.

TL;DR

  • Built in: Tabs, formatting, Markdown and spell check are part of Notepad on Windows 11.
  • AI: Write, Rewrite and Summarize need a Microsoft account. You can switch them off in Notepad's settings.
  • Classic tricks: Type .LOG at the top of a file for a diary that stamps itself, or run the Matrix batch file for the falling green code look.
  • Pranks: Several of my 2016 scripts could crash a PC or lock up a keyboard, so I removed them.

Notepad Tricks at a Glance

Here are the tricks side by side, with what each one needs.

TrickWhat it doesWhat you need
Tabs and session savingKeeps several notes in one windowWindows 11 Notepad
Formatting and MarkdownBold, lists, headings and MarkdownNothing extra
Spell check and autocorrectUnderlines and fixes typosNothing extra
Write, Rewrite and SummarizeDrafts, rewrites and summarizes textA Microsoft account
.LOG diaryAdds the date and time each time you open the fileNothing extra
Custom headers and footersAdds a file name, page number and date when printingRe-entering the codes each time
Your own web pageMakes a basic HTML pageA web browser
Matrix effectShows falling characters in Command PromptA .bat file
Talking PCReads out what you typeVBScript, or the PowerShell .bat version
Antivirus testChecks that your antivirus flags a harmless fileYour antivirus turned on

How to Save a Notepad File as a .bat, .vbs or .html File

Some tricks below need a different file extension, like .bat or .html. Here's how to save one.

  1. Click "File" → "Save as".
  2. Set "Save as type" to "All files (*.*)".
  3. Type the name with the extension you need, like matrix.bat, and click "Save".

If you skip step 2, Windows may save it as matrix.bat.txt, and it won't run.

Also Read: How to Make a Bootable USB Using Command Prompt (Windows 11)

The 10 Best Notepad Tricks

Here are my top 10.

1. Tabs That Remember Everything

Notepad got tabs in 2023, just like your browser. Click the + at the top to open a new tab, and keep all your notes in one window.

The best part is that Notepad now saves your session by itself. Close it without saving, open it again, and your tabs and unsaved text are still there.

2. Bold, Lists, Headings and Markdown

Notepad can format text now. Since 2025, it has a toolbar for bold, italic, links, lists and headings.

It works with Markdown, so you can also type **bold** or # Heading yourself. Switch between the formatted view and the Markdown text from the "View" menu or the status bar at the bottom.

Microsoft has also been testing tables, strikethrough and nested lists with Windows Insiders.

Prefer plain old text? You can turn formatting off completely in Notepad's settings.

3. Spell Check and Autocorrect

Misspelled words get a red underline, just like in Word. Click the word, or press Shift + F10, to see suggestions.

Autocorrect also fixes common typos as you type.

Spell check is off by default for log files and code files, so it won't mess up your scripts. You can turn it on or off in Notepad's settings.

4. Write, Rewrite and Summarize With AI

This one would have blown my mind in 2016.

Select some text, and Notepad can Rewrite it in a different tone or length, or Summarize it. Write can draft new text from a short prompt.

The catch worth flagging: you need to sign in with a Microsoft account. On Copilot+ PCs, these features can run on the PC itself, without a subscription.

If you just want a simple text editor, you can switch these AI features off in Notepad's settings.

5. Make a Diary That Dates Itself (.LOG)

This is my favourite classic trick, and Microsoft still supports it.

  1. Open a new Notepad file.
  2. Type .LOG on the first line, in capital letters.
  3. Save the file, for example as diary.txt.

Now every time you open this file, Notepad adds the current date and time at the end. Just start typing.

It's perfect for a work log, a study diary, or notes on a problem you're fixing.

6. Custom Headers and Footers When Printing

To set your own header and footer when printing, go to "File" → "Page setup" and enter these codes:

  • &f prints the file name.
  • &p prints the page number.
  • &d prints the date.
  • &t prints the time.
  • &l, &c and &r align the text left, centre or right.

For example, &l&f&rPage &p puts the file name on the left and the page number on the right.

One catch: Notepad doesn't remember these settings, so you have to enter them each time.

7. Make Your Own Web Page

You can make a basic web page with nothing but Notepad. Every web developer has done this at least once.

Paste this into Notepad:

<!DOCTYPE html>
<html>
<head>
<title>My first page</title>
</head>
<body>
<h1>Hello from Notepad!</h1>
<p>I made this page with Notepad.</p>
</body>
</html>

Save it as mypage.html and double-click it. It opens in your browser like a real website.

Change the text, save, refresh, and you're learning HTML.

Also Read: How to Say 'Hello World' in 26 Programming Languages

8. The Matrix Effect

Remember the green numbers falling down the screen in The Matrix?

You can get something close in Command Prompt with a tiny batch file:

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Save it as matrix.bat and double-click it.

To stop it, press Ctrl + C or just close the window. You'll love it in full screen.

9. Make Your PC Talk

Want your PC to read out anything you type? You don't need any extra software.

Paste this into Notepad and save it as talk.vbs:

Dim message, sapi
message = InputBox("What should your PC say?", "Talking PC")
Set sapi = CreateObject("SAPI.SpVoice")
sapi.Speak message

Double-click it, type something, and your PC says it out loud.

The catch: this uses VBScript, which Microsoft is phasing out. It's still on by default in Windows 11 for now, but Microsoft says it will be turned off by default around 2027 and later removed.

So here's a version that uses PowerShell instead. Save it as talk.bat:

@echo off
set /p text=What should your PC say? 
powershell -NoProfile -Command "Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak($env:text)"

10. Test Your Antivirus (Safely)

This was trick number one in 2016, and it's still a good one.

EICAR, a European security organisation, publishes a harmless test file that every antivirus is supposed to detect. It isn't a virus and doesn't contain any viral code.

  1. Copy the 68-character test string from EICAR's official page.
  2. Paste it into Notepad as the only line.
  3. Save it as eicar.com (with "All files" selected).

If your antivirus is working, it should flag the file right away. Microsoft Defender will usually move it to quarantine.

To be honest, the string I pasted in 2016 had a few extra spaces in it, so it probably never triggered anything. That's why I'm sending you to EICAR's page for the exact one.

The Old Notepad Tricks I Removed (and Why)

I dropped these prank scripts from my 2016 list. Some were dangerous, some never worked, and some depend on VBScript, which is on its way out.

  • Command Window Rain. In 2016, I called this my favourite. But it keeps opening new Command Prompt windows until your PC slows to a crawl. That's not a prank, it's a crash.
  • Constantly Repeat any Message. It showed pop-up messages in an endless loop with no easy way to stop it. On a friend's PC, that's just mean.
  • Continually Pop-Out CD Drive. It ejected the CD tray in an endless loop. Most PCs don't even have a CD drive now.
  • Convey a Message and Shut Down His PC. This was the first program I ever ran. But it shuts the PC down without warning, and your friend can lose unsaved work.
  • Type Anything Slowly. It typed text with VBScript's SendKeys, which sends keystrokes to whatever window is active. In the wrong window, that can do real damage.
  • Toggle Your Caps Lock. It flipped Caps Lock every tenth of a second, forever. It basically stops someone from using their keyboard.
  • Format Your C:/ Drive Using Notepad. In 2016, I wrote that I had never run this one. Good news: it never did anything. It's just a text file full of 0s and 1s, and Windows can't run that as a program.

Also Read: What Happens When You Shut Down Your Computer?

Final Thoughts

Notepad isn't just a plain text box anymore. Tabs, spell check, Markdown and AI make it a proper little note-taking app.

The classics, like .LOG and the Matrix effect, still work just fine.

Have fun, but keep the pranks harmless. If you want a prank app instead, try Prank Your Friends by Calling Them for Free With the Ownage Pranks App.

What's still uncertain is Microsoft's timeline for VBScript and the Notepad features that are still in testing. Those may change, so check the official Microsoft help pages if a trick stops working.

FAQs

How do I save a Notepad file as a .bat or .html file?

Go to "File" → "Save as", set "Save as type" to "All files (*.*)", then type the name with the extension, such as matrix.bat or mypage.html.

Does Notepad have AI in Windows 11?

Yes. Notepad can Write, Rewrite and Summarize text.

You need to sign in with a Microsoft account to use them. If you don't want them, you can switch these AI features off in Notepad's settings.

No. Notepad doesn't save these settings, so you have to enter codes such as &f for the file name and &p for the page number each time you print.

Will the talking PC trick still work?

The script that uses VBScript still runs on Windows 11 for now, but Microsoft says VBScript will be turned off by default around 2027. The PowerShell talk.bat version does the same job without VBScript.

Still stuck? Tell me through the contact page.

Xaif (Huzaifa Dhapai) started TechVerge in 2015. He's a web developer and long-time Android enthusiast who writes about Android tricks, apps, Windows and the tech he uses every day.

Topics

Comments (4)

  1. jaytri

    awsome trick. i loved that pc shutdown one. Its fun

  2. Radhey

    how to play text after saving audio.vbs file.
    how it work?

    1. XaifAuthor

      Just play the file which you have saved

Comments are closed. Have a question about this article? Ask through the contact page.