2 Ways to Create Dummy Test Files on Your PC

Last Updated on October 11, 2026

If you need to create a dummy test file, you might have been wondering how to go about doing so. Or maybe you are wondering why you would even want to create a dummy test file on your PC.

Creating dummy files on your PC can serve several purposes, such as testing software, simulating storage usage, benchmarking performance, or practicing file operations. These files are often used by IT professionals for troubleshooting, training, or scripting automation. For example, dummy files can help test file transfer speeds, disk quotas, encryption methods, or backup procedures without using real data. In this article, we will be showing you 2 ways to create dummy test files on your PC for free.

Method 1 – Create Dummy Files Using Fsutil

How to Create a Dummy Test File of Any Size in Windows

1. Launch the Command Prompt

The first method we will be using to create a dummy test file involves using the Windows fsutil command. The fsutil command is a powerful command-line utility used for managing and troubleshooting file systems, volumes, and disk-related tasks. To create a dummy file using fsutil, you will need to open a command prompt and type in a specific command.

2. Enter the Creation Command

If you look at the sample command below, you can see that the main part of the command is fsutil file createnew. After that, you need to put the path to where you want the file to be created as well as the file name itself. You should also use quotes if you have any spaces in the path or file name. The last part of the command is the size of the file you want to create in bytes. The full command string looks exactly like fsutil file createnew “c:\users\todds\desktop\1GB Test File” 1073741824.

3. Calculate Your Byte Sizes

You must enter the exact file size in bytes for the command line tool to work properly. A 1 MB file requires exactly 1048576 bytes. A 100 MB file needs 104857600 bytes. Moving up to 1 GB requires 1073741824 bytes. A 10 GB file equals 10737418240 bytes. For massive files, 100 GB is 107374182400 bytes. A full 1 TB file requires 1099511627776 bytes. A massive 10 TB file needs 10995116277760 bytes. Keep these exact numbers handy as a quick reference guide.

4. Verify the Dummy File Creation

Once you type in the command and press enter, you should be informed that your dummy test file has been created. The command prompt will display a success message confirming the exact file path. If you were to then look at the properties of the file, its size should match what you entered for the command perfectly.

2 Ways to Create Dummy Test Files on Your PC fsutil
fsutil file createnew command
File properties
Dummy file size

5. Add Custom File Extensions

If you want to add a file extension to your file name, you can do so as well by adding it to the command. The command fsutil file createnew “c:\users\todds\desktop\1MB Text File.txt” 1048576 will create a 1MB text file. When creating text files, be sure not to make them too large otherwise Notepad will freeze up when trying to open them. As you can see in the image below, even though the file is 1MB, there is still nothing in it even though it shows as having 1,048,576 characters. Empty Notepad files may still show that they contain multiple characters because of the file encoding used when saving the file.

Empty Notepad file
Dummy file open in Notepad

Method 2 – Create Dummy Files Using a Free App

Create Custom Dummy Test Files of Any Size for Free

1. Download the Generator Tool

The next method we will be using to create a dummy test file involves using a free third party app called Dummy File Generator that can be downloaded here. You can use the installable version of the app or the standalone portable version. The portable version runs directly without modifying your system registry.

2. Configure the File Parameters

Once you have the app open, you can choose the destination folder at the top. Then choose one of the default file sizes like 1MB, 10MB, 100Mb and 1GB. You can also type in your own custom size in bytes if you do not want to use one of the defaults. This gives you total control over the exact output.

App to Create Dummy Test Files
VOVSOFT Dummy File Generator app

3. Customize the File Contents

The app will use 0’s to fill the file unless you change the setting in the Char box. You can also use the Lines option to add actual text to your file. You can also create multiple files each with their own unique name by placing the file name on a separate line. You can add the .txt file extension if you want to create text files, otherwise you can change it to something else or remove the file extension altogether.

4. Generate the Target Files

Once you have everything configured, click on the Generate button to have your dummy files created. We will create two 10MB dummy files called Dummy1.txt and Dummy2.txt for this specific example. The software processes the request and places the files directly into your chosen directory.

Dummy text files
Dummy files in File Explorer

5. Review the Generated Output

If we were to open one of these files, we would see that it has been filled with 0’s. The generator packs the document with identical characters to reach the target file size. This works perfectly for simple storage testing scenarios.

Notepad all 0's
Opening a dummy file in Notepad

6. Inject Random Text Data

Now we will change the setting from Char to Lines and add the words Random Data to our file. This forces the application to write actual readable words instead of just numbers. The tool processes the new parameters instantly.

Creating Dummy Files with random data
Add random data to the dummy file

7. Verify the Random Data

Now when we open the dummy file, we see the words Random Data throughout the file. The text repeats continuously until the file reaches the exact megabyte size you requested. You now have a fully functional test document ready for your network transfer experiments.

Test File open in Notepad
Dummy file with random data text

As you can see, it’s not too difficult to create dummy test files on your PC if you use the right command line tool or the right third party application.

For additional training resources, check out our online IT training courses.

Check out our extensive IT book series.

Preston Mason

Preston Mason is an Windows specialist with 10 years of experience in the computer industry specializing in Windows, Office and hardware.

Related Posts

© 2026 Online Computer Tips
Website by Anvil Zephyr