.NULL

NULL File

NULL File - placeholder / empty / mislabeled file
Ask a question
QUICK ANSWER

A .null file is not a real file type. It is usually an empty placeholder a program created, a normal file whose extension was wrongly set to .null by a bug, or a file encrypted by the STOP/Djvu ransomware. To open it, first identify which case you have: check the file size and inspect the first bytes with a tool like FileAlyzer or HxD.

Developer: N/A (not a real format; generic placeholder or error artifact) Category: Misc Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Jul 18, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the NULL file format?

Files with the .null extension do not belong to a single defined format - the extension acts as a generic placeholder or error artifact used by various programs and scripts. Some Windows programs use .null for empty or corrupted/damaged files to mark "no data" or reserve a filename. Files with the .null extension can also be produced by ransomware (notably the STOP/Djvu family) for encrypted files, replacing the original extension with .null; these files are not recoverable simply by renaming.

Three situations account for most .null files you will encounter:

  • An empty zero-byte placeholder created by a program or script to flag a state or reserve a path.
  • A mislabeled file whose extension was incorrectly set to .null by a bug or misconfiguration - the actual content may be an image, a DAT file, a TMP file, or any other format.
  • A file encrypted by STOP/Djvu ransomware, which appends .null to targeted files using AES-128-CBC encryption; decryption requires an official decryptor, not a rename.

If a .null file cannot be opened by the expected application, inspect its contents in Notepad or any plain-text editor, which can open simple text-based variants. Examining the file in a hex editor - such as HxD or Hex Fiend - or running the file command on Linux/macOS reveals the first bytes (the header section), which may contain useful information about the original file type. Tools such as TrID and FileAlyzer can also suggest the real format hidden under the .null extension.

Security & safety

RISK: MEDIUM

The .null extension itself is inert, but it is a known RANSOMWARE marker: the STOP/Djvu family appends .null to files it encrypts (AES-256), so a sudden crop of .null files plus a ransom note means an active infection - disconnect the machine, don't pay, run reputable anti-malware, and check for a free decryptor (e.g. Emsisoft's STOP/Djvu tool) or restore from clean backups. For benign cases the risk is low: an empty placeholder is harmless, and a mislabeled file is only as risky as its true type once renamed (so identify it before opening - a mislabeled executable renamed and run could be malware). Never blindly rename a .null to .exe; inspect its bytes first.

Format details

in a nutshell
FULL NAMENULL File - placeholder / empty / mislabeled file
DEVELOPERN/A (not a real format; generic placeholder or error artifact)since N/A - '.null' is used ad hoc by programs/scripts, not a designed format
CATEGORYMisc Files
MIME TYPEapplication/octet-stream
TYPENo defined format - an empty/placeholder file, a mislabeled file, or an error artifact
This extension is also used by…
  • STOP/Djvu '.null' ransomware-encrypted file - A variant of the STOP/Djvu ransomware (active since ~2017) appends .null to victims' files after AES-256 encryption; these cannot be opened by renaming and require ransomware recovery, not a viewer.
  • /dev/null redirect artifact (Unix) - On Unix-like systems 'null' is the bit-bucket device; a literal file called 'null' is sometimes created by accident (e.g. a mistyped redirect) and is just whatever was written to it.

Programs that open NULL files

Windows3 apps
FileAlyzer Free Open the .null to inspect its header, size and properties and identify whether it's empty, mislabeled, or encrypted. (db's listed tool - it's an analyzer, the correct approach.)
TrID Free Run TrID on the .null to auto-detect the underlying file type from its bytes, so you know what to rename it to.
HxD (hex editor) Free Open the .null in a hex editor and read the first bytes; match them to a known signature to find the real format, then rename the file accordingly.
macOS2 apps
Hex Fiend Open-source Open the .null to inspect its bytes; identify the real format from the header and rename it, or confirm it's empty.
file (Terminal) Built-in Run 'file yourfile.null' to have macOS guess the real type from the content, then rename accordingly.
Linux1 app
file command Open-source Run 'file yourfile.null' to detect the true type from magic bytes; rename to the reported extension to open it.

Technical details

deep spec
Format categoryGeneric placeholder / error artifact - not a designed file format
File identificationFirst bytes reveal the true origin: original format header (mislabeled file), empty content (placeholder), or encrypted data (ransomware)
Typical file sizeZero bytes when used as a placeholder; arbitrary size when a real file was mislabeled or encrypted
MIME typeapplication/octet-stream - no registered or dedicated MIME type exists for .null
Content encodingFully dependent on origin: plain text, binary, or AES-128-CBC encrypted data in the ransomware variant
Header structureInherited from the original format in mislabeled files; absent entirely in zero-byte placeholder files
Ransomware associationSTOP/Djvu ransomware appends .null to targeted files encrypted with AES-128-CBC; renaming does not restore them
Identification methodRun `file filename.null` on Linux/macOS or open in a hex editor to read the first 8-16 bytes
Recovery approachRename to the correct extension if mislabeled; use an official STOP/Djvu decryptor if ransomware-encrypted
Platform originCross-platform - produced by scripts and programs on Windows, macOS, and Linux
Common producersBuild scripts, package managers, CI pipelines, and software installers that create flag or lock files
Zero-byte usageA zero-byte .null acts as a flag file: its presence signals a state to the OS or script, not its content
Related placeholder rolesFunctionally similar to .tmp, .bak, and .000 files used as transient or leftover artifacts
Detection toolsTrID and FileAlyzer (Windows), Hex Fiend (macOS), and the `file` command (Linux/macOS)
ReleasedN/A - '.null' is used ad hoc by programs/scripts, not a designed format

NULL conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with NULL files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about NULL files.

Frequently asked questions

What is a .null file?
It isn't a real format. A .null file is usually an empty placeholder a program made, a normal file whose extension got wrongly set to .null, or a file encrypted by the .null STOP/Djvu ransomware. Identifying which case you have is the key step.
How do I open a .null file?
First find out what it actually is: check its size (0 bytes = empty placeholder) and inspect its first bytes with FileAlyzer, HxD, TrID or the 'file' command. If it's a mislabeled real file, rename it to the correct extension (e.g. .jpg, .pdf) and open it normally.
All my files turned into .null with a ransom note - what happened?
Your files were encrypted by the .null variant of STOP/Djvu ransomware. Don't pay the ransom; disconnect the device, scan with reputable anti-malware, and check whether a free decryptor (e.g. Emsisoft's STOP/Djvu decryptor) works for your case, or restore from backups. Renaming won't help.
Can I just rename a .null file to .jpg or .pdf to open it?
Only if the file genuinely IS that type and was mislabeled - check the header first. If it's empty there's nothing to recover, and if it's ransomware-encrypted renaming does nothing because the data itself is scrambled.
Is it safe to delete a .null file?
An empty/zero-byte .null placeholder is generally safe to delete. If it has real content you might be deleting a mislabeled file you need, so identify it first. Ransomware .null files can be deleted only after you've recovered the data another way.
Why does my program keep creating .null files?
Some scripts and apps write a .null (or redirect output to 'null') as a placeholder for 'no data' or a discarded result. It's usually harmless housekeeping; check the app's settings/logs if you want to stop it.

References

1FileAlyzer - file analysis tool (Safer-Networking)www.safer-networking.org
2Emsisoft - STOP/Djvu ransomware decryptor (for .null and related)www.emsisoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.MDMarkdown Document
5.JPGJPEG Image
6.EXEWindows Executable (Portable Executable)
7.BINCD/DVD Disc Image (BIN/CUE)
8.NOMEDIAAndroid No-Media Marker File
9.DATProgram Data File (generic)
10.RPMSGRestricted Permission Message

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z