How to Open a TMP File
If you want to recover a document from a TMP file, preserve a copy first and check the original app's AutoRecover or unsaved-files feature. The checker below may identify usable content. If you only want to clean temporary files, close the app and use the cleanup steps; renaming a TMP does not rebuild missing data.
Choose what you need
Identify a TMP File Online
Drop a .tmp file below. This tool reads its bytes to detect a real file format hiding underneath, shows a text preview if the content is readable text, and lets you download a copy renamed with the correct extension.
🔒 Nothing is uploaded — your file never leaves this deviceOn this page
- Identify a TMP file (tool)
- Quick answer
- What is a .tmp file?
- Is it safe to delete?
- Recovering a document from a TMP file
- Where TMP files usually live
- Common errors & fixes
- Word, Excel & PowerPoint temp files
- Recover an unsaved Word/Excel file
- Delete TMP files in Windows 11/10
- Can't delete a .tmp file (in use)
- Related file extensions
- Technical references
- FAQ
What is a .tmp file?
.tmp isn't a file format — unlike a .pdf or a .jpg, the extension carries no information at all about what's inside. It's simply a naming convention that operating systems and applications use for files meant to exist only temporarily: while a document is being edited, while data is being processed, or while something else is being built in the background. Almost any program can create one, for almost any reason.
Because there's no fixed structure, a .tmp file could be genuinely anything: plain text, a half-finished document, a cached image, a database journal, or just meaningless binary scratch data. The only reliable way to know is to look at what's actually inside — which is exactly what the tool on this page does, by checking the file's magic bytes and, when the content looks like text, previewing it directly.
Is it safe to delete a .tmp file?
Before deleting a large batch, it's worth a quick sanity check: make sure no program that might depend on them is currently open, and if a specific file seems unusually large or important, run it through the identification tool above first. If it turns out to be a genuine document or image you need, download it with the correct extension restored before removing anything.
Recovering a document from a TMP file
If Word, Excel, PowerPoint or a similar app crashed while you were working, it may have left behind a .tmp file containing a recent autosaved copy of your document. Since modern Office formats (.docx, .xlsx, .pptx) are actually ZIP archives internally, the identification tool above can often recognize this and offer to download the file with the correct extension restored — try opening the renamed file in the matching application afterward.
This isn't guaranteed to work: if the crash happened mid-write, the file may be incomplete or corrupted. If recovery fails, check your application's own built-in AutoRecover/document-recovery feature first the next time you reopen it — that's usually a more reliable path back to unsaved work than hunting through temp files directly.
Where TMP files usually live
- Windows:
%TEMP%(usuallyC:\Users\<you>\AppData\Local\Temp), plus a system-wideC:\Windows\Temp. - Mac:
/tmpand/private/var/folders/..., mostly hidden from Finder by default. - Linux:
/tmpand/var/tmp, often cleared automatically on reboot.
Files can also turn up outside these folders — some apps drop a .tmp file right next to the document you're editing, in the same folder, which is the most common way people stumble across one unexpectedly.
Common TMP file problems and how to fix them
A .tmp file won't go away even after closing the program
Some apps only clean up temp files on their next successful launch, not on close. Reopening and properly closing the app again usually clears it; otherwise it's safe to delete manually.
Renamed file still won't open in the expected program
The temp file may be incomplete, corrupted, or simply not the format you expected. Double-check the "Detected content" result from the tool above, and if it shows "Unrecognized," the file likely doesn't correspond to any complete, openable format.
Running out of disk space from accumulated .tmp files
Use your operating system's built-in disk cleanup tool (Windows: Disk Cleanup / Storage Sense; Mac: Storage Management; Linux: clear /tmp on reboot or manually) rather than deleting files by hand across many folders.
Word, Excel & PowerPoint temp files (~WRL0001.tmp, ~$, ~DF)
Microsoft Office is the source of most .tmp files people find next to their documents. The name pattern tells you what you're looking at:
| Name you see | Made by | What it is | Safe to delete? |
|---|---|---|---|
~WRL0001.tmp, ~WRD0000.tmp, ~WRF1234.tmp | Word | Working copies Word writes while opening and saving, in the document's folder or in %temp%. | Yes, once Word is closed. Check large ones first — after a crash they can hold your text. |
~$report.docx, ~$budget.xlsx | Word, Excel, PowerPoint | Hidden "owner file" (a few hundred bytes) that records who has the document open. It contains no document content. | Yes, when the document isn't open. A stale one can make Office claim the file is locked for editing by you or another user. |
Random 8-character name with no extension, e.g. 3F8A21C0 | Excel | Temporary copy Excel writes during a save before swapping it in for the original. | Yes, when Excel is closed. If a save was interrupted, try it as .xlsx first (see below). |
~DF3A2C.tmp | Office / other Windows apps | Scratch storage in %temp% for embedded objects, clipboard data and similar. | Yes, when Office is closed. |
ppt1A2B.tmp | PowerPoint | Working data for an open presentation, in %temp%. | Yes, when PowerPoint is closed. |
AutoRecovery save of report.asd | Word | AutoRecover snapshot of an open document (not a .tmp, but the file you actually want after a crash). | Keep until you've recovered your work. |
If Office keeps saying a document is "locked for editing" even though nobody has it open, close all Office apps, show hidden files in File Explorer (View > Show > Hidden items) and delete the matching ~$ file in the same folder.
Recover an unsaved Word or Excel file (AutoRecover & UnsavedFiles)
Before digging through .tmp files by hand, use Office's own recovery, which reads the same temporary data in a structured way:
- Reopen Word (or Excel). After a crash, a Document Recovery pane usually appears on the left — open each listed version and save the one you want with File > Save As.
- If nothing appears, go to File > Info > Manage Document > Recover Unsaved Documents in Word, or File > Info > Manage Workbook > Recover Unsaved Workbooks in Excel. This opens the folder of drafts Office kept for files you never saved.
- Still nothing? Browse the folders yourself (paste them into the File Explorer address bar):
%LOCALAPPDATA%\Microsoft\Office\UnsavedFiles— drafts of never-saved files%APPDATA%\Microsoft\Word— Word AutoRecover.asdfiles%APPDATA%\Microsoft\Excel— Excel AutoRecover files- The exact AutoRecover folder is shown in File > Options > Save > AutoRecover file location.
- Last resort: open
%temp%and the document's own folder, sort by Date modified, and look for~WR*.tmpfiles from around the time you lost work. Copy one elsewhere, drop it into the tool above, then rename it to the detected extension (usually .docx or .xlsx) and open it. - If the copy won't open normally, in Word use File > Open > Browse, set the file-type list to Recover Text from Any File (*.*) and open the .tmp file — Word extracts whatever readable text it can find.
On a Mac, Word's AutoRecovery files live in ~/Library/Containers/com.microsoft.Word/Data/Library/Preferences/AutoRecovery (in Finder, use Go > Go to Folder). Files stored in OneDrive or SharePoint with AutoSave on also have Version History (File > Info), which is often the easiest way back.
How to delete TMP files in Windows 11 and 10
Option 1: Settings (safest)
- Open Settings > System > Storage and select Temporary files.
- Wait for the scan, tick Temporary files (and any other categories you're happy to clear), and leave Downloads unticked unless you mean it.
- Select Remove files. To have Windows do this automatically, turn on Storage Sense on the same Storage page.
Option 2: Empty the %temp% folder by hand
- Close your open programs, then press Win+R, type
%temp%and press Enter. File Explorer opens your personal Temp folder. - Press Ctrl+A to select everything, then Delete (or Shift+Delete to skip the Recycle Bin).
- When Windows reports a file or folder is in use, tick Do this for all current items and click Skip. Files still in use belong to running programs and will be cleaned up later.
The older Disk Cleanup tool (run cleanmgr) still works too and can also clear system files such as old Windows Update data via Clean up system files. Deleting from C:\Windows\Temp needs administrator rights; the same skip-what's-in-use approach applies.
Can't delete a .tmp file because it's in use
A .tmp file that refuses to delete is held open by a running process. That's protection, not a problem — but if the file is huge or keeps blocking a folder you want to remove:
- Close the obvious candidates: Office apps, your browser, installers, and cloud-sync apps (OneDrive, Dropbox) that may be uploading the folder.
- Find the owner: open Resource Monitor (run
resmon), go to the CPU tab and type the file name into the Associated Handles search box. It lists the process holding the file, which you can close normally (or end from Task Manager). - Restart Windows and delete the file before opening other programs. Files that only an installer was using are released after the reboot.
- A .tmp file that reappears every time you delete it is being recreated by a running program — leave it alone; it will be cleaned up when that program exits.
%temp%, or temp files multiplying rapidly, run a full scan with Microsoft Defender (Windows Security > Virus & threat protection) before anything else.Technical references
There's no formal spec for .tmp — it's simply the conventional extension operating systems and applications use for temporary files. Microsoft's own developer documentation describes how and why programs create them.
- Creating and Using a Temporary File — Win32 apps, Microsoft Learn — Microsoft's own documentation on the Windows API functions programs use to create .tmp files.
Frequently asked questions
What program opens a .tmp file?
No single program opens .tmp files, because .tmp isn't a real file format — it's a generic label almost any application can give a temporary working file. What actually opens it depends entirely on what's inside: it could be text, an image, a partial document, or meaningless scratch data. The tool on this page identifies the real content and, when possible, lets you preview or rename it to its correct extension.
Is it safe to delete .tmp files?
Generally yes, especially if the application that created them isn't currently running. Temp files exist purely as scratch space — for autosaves, downloads in progress, installer staging, or app working data — and are normally cleaned up automatically once they're no longer needed. If you're unsure, identify the file first with the tool on this page before deleting it.
Why do I have so many .tmp files?
Most come from normal software behavior: word processors and spreadsheets create autosave/lock temp files while a document is open, installers extract their contents to a temp file before running, browsers and download managers use them mid-download, and many apps use them as scratch space during processing. A build-up usually means an app crashed before cleaning up after itself, which is harmless to fix by deleting the leftovers.
Can I recover a document from a .tmp file?
Sometimes. If an app like Word or Excel crashed, its autosave .tmp file may contain a recent working copy of your document — often a real ZIP-based Office file in disguise, which the tool on this page can detect and let you download with the correct extension restored. Success isn't guaranteed, since the file may be incomplete or mid-write when the crash happened.
What is a ~WRL0001.tmp file?
It's a temporary working copy Microsoft Word creates while opening or saving a document, usually in the same folder as the document. Word deletes it when it closes normally, so a leftover one means Word crashed or was force-closed. Once Word is closed it's safe to delete — but if you just lost work, copy it and check it with the tool on this page first.
What is the ~$ file next to my Word or Excel document?
It's Office's hidden owner file, which records who currently has the document open. It contains none of your content and is deleted when you close the document. A leftover ~$ file can be deleted once the document is closed; that also fixes false "locked for editing" messages.
Where does Word save unsaved documents?
Drafts of never-saved documents are in %LOCALAPPDATA%\Microsoft\Office\UnsavedFiles, which Word opens for you via File > Info > Manage Document > Recover Unsaved Documents. AutoRecover files for saved documents are in %APPDATA%\Microsoft\Word (the exact folder is under File > Options > Save).
Is it safe to delete everything in the %temp% folder?
Yes, with all programs closed. Anything still in use will refuse to delete — choose Skip for those. Settings > System > Storage > Temporary files does the same job more safely.
Why can't I delete some .tmp files?
A running program still has them open. Close your apps or restart Windows and try again; Resource Monitor's Associated Handles search (CPU tab) shows exactly which process is holding a specific file.
Last updated September 21, 2026.