What is the EICAR test file?
The EICAR test file is a harmless 68-byte text string that antivirus programs deliberately detect as a virus. It was defined by the European Institute for Computer Antivirus Research (EICAR) so that you can check your protection without touching real malware.
This generator delivers that string as a download with the file extension you choose.
Options
- Extension: .exe, .com, .txt, .pdf, .xls or .doc
- Content: always the same EICAR string, only the extension changes
- Filename: optional
Typical use cases
- Check that desktop and server antivirus detects threats
- Test upload filters and mail gateways
- Verify that endpoint protection raises an alert
- Run repeatable scanner checks in pipelines
FAQ
- Is the EICAR file dangerous?
- No. It contains only text and no executable code. Antivirus tools flag it on purpose.
- Why does my antivirus block the download?
- Because the EICAR signature is built into virtually all scanners. A warning or quarantine means your protection works. You may need to allow the file temporarily.
- Why different extensions?
- Filters often react to the file type. With the same content under .exe, .pdf or .doc you can check each rule separately.
- Do I need an account?
- No. Choose an extension and click “Create file”.