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
.LOGat 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.
| Trick | What it does | What you need |
|---|---|---|
| Tabs and session saving | Keeps several notes in one window | Windows 11 Notepad |
| Formatting and Markdown | Bold, lists, headings and Markdown | Nothing extra |
| Spell check and autocorrect | Underlines and fixes typos | Nothing extra |
| Write, Rewrite and Summarize | Drafts, rewrites and summarizes text | A Microsoft account |
| .LOG diary | Adds the date and time each time you open the file | Nothing extra |
| Custom headers and footers | Adds a file name, page number and date when printing | Re-entering the codes each time |
| Your own web page | Makes a basic HTML page | A web browser |
| Matrix effect | Shows falling characters in Command Prompt | A .bat file |
| Talking PC | Reads out what you type | VBScript, or the PowerShell .bat version |
| Antivirus test | Checks that your antivirus flags a harmless file | Your 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.
- Click "File" → "Save as".
- Set "Save as type" to "All files (*.*)".
- 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.
- Open a new Notepad file.
- Type
.LOGon the first line, in capital letters. - 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:
&fprints the file name.&pprints the page number.&dprints the date.&tprints the time.&l,&cand&ralign 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.
- Copy the 68-character test string from EICAR's official page.
- Paste it into Notepad as the only line.
- 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.
Does Notepad remember my custom header and footer?
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.
Topics
Comments (4)
Comments are closed. Have a question about this article? Ask through the contact page.

awsome trick. i loved that pc shutdown one. Its fun
Thank you...
how to play text after saving audio.vbs file.
how it work?
Just play the file which you have saved