.TEMP

TEMP File

Temporary File
Ask a question
QUICK ANSWER

A TEMP file is a temporary scratch file a program or the operating system writes to hold working data - autosave snapshots, partial downloads, installer payloads, print spool data. There is no single TEMP opener because there is no single TEMP format: the contents depend entirely on the program that created it. If that program is still running, leave the file alone. If it is left over from a closed or crashed app, it is almost always safe to delete. To inspect the contents, open it in Notepad++ or a hex editor.

Developer: N/A - generic convention used by Windows, macOS, Linux and thousands of applications 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 12, 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 TEMP file format?

A .temp file is a generic temporary file created by an application during processing, installation, or file-saving operations. The extension carries no defined internal format: the actual contents are determined entirely by the program that created the file, and may be binary data, plain text, or any structure the application uses internally during in-progress work.

The .temp extension is a less common, longer alias for the .tmp convention, which dates back to MS-DOS and early Unix. On Windows, most system utilities default to .tmp; .temp is used by some cross-platform applications and certain download managers during active transfers. Both extensions share the same semantics - a scratch or working copy of data that is cleaned up once the parent process completes.

Common scenarios that produce .temp files include:

  • in-progress file saves (the app writes to .temp, then renames to the final name on success)
  • software installers extracting payload data to disk
  • archive utilities decompressing content during extraction
  • download managers writing partial data during an active transfer

Because the contents are format-agnostic, identifying a .temp file requires knowing which application created it. A hex editor can inspect the first bytes and cross-reference them against known format magic bytes. .temp files left behind after a crash are generally safe to delete once the creating process is no longer running.

Related placeholder extensions include .bak (backup copies) and .crdownload (Chrome in-progress downloads).

Security & safety

RISK: LOW

.temp files themselves are not executable and pose no direct risk. However, malware occasionally uses innocuous-looking temp filenames to hide payloads. If a .temp file appeared without explanation in a sensitive location (Startup, system32) or was delivered via email/download, scan it with an up-to-date antivirus before opening. The "Various programs" link in the old DB pointed to a dead site - no scam risk, just useless.

Format details

in a nutshell
FULL NAMETemporary Fileaka temp file, scratch file
DEVELOPERN/A - generic convention used by Windows, macOS, Linux and thousands of applicationssince 1980s (convention dates back to MS-DOS and early Unix; same era as .tmp)
CATEGORYMisc Files
MIME TYPEapplication/octet-stream
TYPENo single format - container-agnostic scratch/working data; contents depend entirely on creating program
This extension is also used by…
  • Swish-E temporary index - Swish-E (Simple Web Indexing System for Humans - Enhanced) used .temp files during full-text index builds; project defunct since ~2008.

Programs that open TEMP files

Windows2 apps
Notepad Open-source Open the .temp file to inspect if it is text-based; reveals the format and any recoverable data.
HxD (hex editor) Free Open .temp file to view raw bytes and identify the true format from magic bytes.
macOS1 app
TextEdit Built-in Open in TextEdit for text-based temp files; use Hex Fiend for binary inspection.
Linux1 app
file (command-line utility) Open-source Run 'file yourfile.temp' to identify the true format from magic bytes.

Technical details

deep spec
Internal formatNo defined structure - internally matches whatever the creating application writes during in-progress work
Typical Windows location`%TEMP%` or `%TMP%` directory (usually `C:\Users\<user>\AppData\Local\Temp`)
Typical macOS/Linux location`/tmp/` or an application-specific cache directory
Safety to deleteSafe once the creating process has closed; deleting a file in active use may cause errors in the writing application
Identification methodNo fixed magic bytes - inspect first bytes with a hex editor and cross-reference known format signatures
Relation to .tmp`.temp` is a longer alias for `.tmp`; semantics, usage, and typical contents are identical
Common creation triggersIn-progress file saves, installer payload extraction, archive decompression, partial download writes
EncodingVaries - binary, UTF-8 text, or mixed, depending entirely on the creating application
File size rangeBytes to several GB (highly application-dependent)
Auto-cleanupWindows `cleanmgr` can clear `%TEMP%` contents; macOS periodically purges `/tmp` via launchd
Related placeholder extensions`.tmp`, `.bak`, `.part`, `.crdownload`
MIME type`application/octet-stream` (generic binary fallback)
Released1980s (convention dates back to MS-DOS and early Unix; same era as .tmp)

TEMP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with TEMP 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 TEMP files.

Frequently asked questions

Is it safe to delete .temp files?
Yes, if the creating program is no longer running. Close all open apps first, then delete files in %TEMP% (Windows) or /tmp/ (Linux/Mac). Windows Disk Cleanup does this automatically.
How do I open a .temp file?
There is no universal opener because .temp has no fixed format. Try renaming to the extension of the program that created it. For unknown files, open in Notepad++ (text) or HxD (binary).
Can I recover data from a .temp file after a crash?
Often yes - many programs write live data to a .temp file. Open it directly in the original program, or try renaming it to the program's native extension (e.g. .docx for Word).
Why is my .temp file so large?
Common causes: a video encoder's intermediate file, a database sort-spill, or an interrupted large download. Safe to delete once the program is closed.
What is the difference between .temp and .tmp?
None functionally - both are the same informal convention. Windows and most programs prefer .tmp; some cross-platform apps use .temp.

References

1Microsoft - Temporary files and Windows temp foldersupport.microsoft.com
2Linux Filesystem Hierarchy - /tmptldp.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.MDMarkdown Document
9.TMPTemporary File
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