Digital Tech Tools

How to Test Your Antivirus Safely With the EICAR File

If your antivirus never makes a sound, how do you know it would actually stop a real virus? The EICAR test file answers that in under a minute, without going anywhere near real malware. Here is how to run the test safely and how to read the result.

Quick Answer: The EICAR test file is a harmless 68-byte text string that every major antivirus agrees to treat as if it were a virus. Download it only from the official EICAR page. If your antivirus blocks the download or flags the file, it passed. If nothing happens, your real-time protection needs a closer look.

What Is the EICAR Test File?

The EICAR Anti-Virus Test File was created by the European Institute for Computer Antivirus Research (EICAR) together with the Computer Antivirus Research Organization (CARO), so anyone can check that their antivirus is working without touching a real virus. It has been the industry-standard test for years, and antivirus vendors build their products to recognize it.

The file is short and simple: exactly 68 bytes of printable ASCII characters. Antivirus products that follow the standard detect it under a name like “EICAR-Test-File”. It is not a virus and carries no malicious code. On old 16-bit systems it only prints a line of text, and on modern 64-bit Windows it does not run at all.

Is the EICAR File Safe to Download?

Yes. It cannot damage your PC, encrypt files, or spread. The “download at your own risk” note on EICAR’s page exists because your antivirus will react to the file, and EICAR does not provide removal help. In practice, removal is one click in your antivirus’s quarantine or protection history.

  • Download it only from the official page: eicar.org/download-anti-malware-testfile
  • Keep your antivirus switched on during the test. Turning it off defeats the point and leaves you exposed.
  • Leave the file name alone and keep it to yourself. Mail filters and scanners will flag it if you send it, which scares people and can get your address reported.
  • If you are ever unsure about a download source itself, run it through the checks in our guide: Is This Link Safe? How to Check Any Link Before You Click

How to Test Your Antivirus With the EICAR File (4 Steps)

1. Open the official download page. Go to eicar.org/download-anti-malware-testfile. The files are served over HTTPS directly from EICAR.

Official EICAR Anti-Malware Testfile download page on eicar.org
The official EICAR test file page. Download only from eicar.org.

2. Pick one of the four variants. Each version tests a slightly different layer of your protection:

FileSizeWhat it tests
eicar.com68 bytesThe raw test file. Detected on download, on save, or when run.
eicar.com.txt68 bytesPlain-text version. Easiest to keep for a manual scan.
eicar.com.zip184 bytesTests whether your antivirus scans inside ZIP archives.
eicar.com-2.zip308 bytesA ZIP inside a ZIP. Tests deeper archive scanning.

EICAR labels the four downloads as shown in the table, but browsers often save them with underscores instead of dots. In our Edge test, the double-zip arrived as eicar_com2.zip. Same files, same test: the size is what matters.

The four EICAR test file variants with download buttons on eicar.org
The four EICAR download variants with their sizes on the official page.

3. Click the download and watch. A working antivirus usually reacts within seconds: the browser download gets blocked, or a detection alert pops up. You do not need to open or run anything.

4. Run a manual scan (optional). To test the on-demand scanner instead, download the .txt variant, then right-click the file and choose “Scan with Microsoft Defender” or your antivirus’s scan option. Some products flag the .txt file on download too, which is also a pass.

What a Pass Looks Like (Our Defender Test)

A pass means your antivirus reacts on its own. In our test on December 3, 2026 (single run, Windows 11 with Microsoft Defender in Edge), Microsoft Defender SmartScreen blocked the double-zipped variant, saved as eicar_com2.zip, before it could be written to disk, and marked it as unsafe right in the downloads panel:

Microsoft Defender SmartScreen blocking the EICAR test file download (eicar_com2.zip) in Edge
Microsoft Defender SmartScreen blocked the EICAR test file before it could be saved. That is a pass.

Defender also logs the event under Windows Security, then Virus and threat protection, then Protection history. Blocking the file before it reaches your disk is exactly what you want to see. For a fuller picture of how Microsoft’s built-in protection holds up, see our Microsoft Defender Antivirus review.

What a Pass Does Not Prove

The EICAR test only confirms that your antivirus is installed, active, and recognizes a known signature. It says nothing about how well your product catches new or disguised malware, and it does not compare one antivirus against another.

Also note which layer reacted. In our test, SmartScreen (a browser and reputation filter) stopped the download. That is a valid pass, but it is not the same as the file scanner catching a file already on your disk. To test the scanner itself, save the .txt variant if your browser allows it and scan it manually, as in step 4.

What If Nothing Happens?

  • Confirm that real-time protection is actually on (in Windows Security, open Virus and threat protection settings).
  • Try the plain eicar.com or the .txt variant, then run a manual scan on it.
  • Look in the quarantine or protection history, since some tools remove the file silently and only log the event.
  • Update your antivirus signatures and try once more.
  • If it still stays silent, your antivirus may not follow the EICAR standard. Contact your antivirus vendor’s support, since EICAR cannot help with removal or product issues.

A silent antivirus is exactly what real threats count on. If yours failed this test, tighten the basics with our guide Ransomware Protection: 7 Steps for Windows PC Safety. And if you want to see how we check whether a download source itself is trustworthy, read our test: Is Softonic Safe? My WinRAR Download Test and Results. And if your current tool stays silent and you are thinking about switching, see how a popular PC optimizer held up in our Is Advanced SystemCare Safe? VirusTotal and Install Test.

FAQ

Is the EICAR file a virus?

No. It is a harmless 68-byte text string that antivirus vendors agreed to detect as if it were a virus, purely so you can test that your protection works. It cannot harm your PC.

Does the EICAR test work with Windows Defender?

Yes. In our December 2026 test, Microsoft Defender SmartScreen blocked the zipped EICAR variant before it was even saved, and the event appeared in Protection history.

How do I remove the EICAR file after testing?

Open Windows Security, go to Virus and threat protection, then Protection history, and remove or allow nothing you do not recognize. If the file was saved, delete it like any normal file, or use your antivirus’s quarantine page to remove it. If the download was blocked, there is nothing to clean up.

Can I create the EICAR file myself instead of downloading it?

Yes. EICAR publishes the exact 68-character string on its official page, and a file containing only that string is treated as the test file. Downloading from eicar.org is safer, since a single wrong character means the test will not trigger.

Does the EICAR file test my phone antivirus?

It is designed for desktop anti-malware tools. Some mobile scanners detect it, but it is not a reliable test on phones.

Sawahits Editorial

Sawahits Editorial is the editorial team account of SawaHits. Every software review, giveaway and discount write-up is tested hands-on, checked against official vendor pages, and approved by founder and editor H Belal before it goes live.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Discover more from SawaHits

Subscribe now to keep reading and get access to the full archive.

Continue reading