What is a .cache file?
Cache File · Data · Various · n/a
A .cache file stores data a program saved to speed itself up next time, such as thumbnails, downloaded assets or precomputed results. The program creates and manages it, and it is usually safe to delete if you need the space.
What is a .cache file used for?
Programs write cache files so they do not have to redo work: a browser caches web assets, an app caches thumbnails, a game caches compiled shaders. Keeping the result on disk makes the next run faster.
Because it is only a saved copy of something the program can regenerate, a cache is generally safe to clear. The program simply rebuilds it, at the cost of being a little slower once.
A .cache is not meant to be opened by hand, and its format is specific to whatever created it. A text or hex editor might show clues, but the data only means something to that program.
If a stray .cache is taking up space, deleting it when the program is closed is usually harmless.
What opens a .cache file?
The .cache format opens in the following apps, grouped by operating system. If one app does not work, try another from the same list.
Windows
- The program that created it
- text or hex editor (to inspect)
- just delete to clear
macOS
- The originating program
- text or hex editor
- just delete to clear
Linux
- The originating program
- text or hex editor
- just delete to clear
Web
- Not applicable
Open a .cache file step by step
- Confirm the file really is a .cache. Drop it into the WhatFileType identifier, which reads its signature in your browser without uploading anything.
- On Windows, open it with The program that created it or text or hex editor (to inspect).
- On Mac, use The originating program or text or hex editor.
- On Linux, try The originating program or text or hex editor.
- Still stuck? Convert the .cache to Not applicable, which opens more widely.
Why can't I open my .cache file?
Almost always because no installed app understands CACHE. Install one of the apps above, or convert the file to a format your existing software already reads. If double-clicking opens the wrong program instead of nothing at all, the file association is set to the wrong app rather than the file being broken.
The other possibility is that the file is not really a .cache at all. Drop it into the file identifier to check it by its bytes instead of its name. Nothing is uploaded.
How to convert a .cache file
You can convert a .cache file to Not applicable using a conversion tool or the export menu of an app that opens it.
CACHE has no fixed magic number, so there is no signature table on this page. Its bytes alone do not prove the format: identification relies on the extension, the structure of the content and the program that created it. The magic-numbers reference lists the formats that do carry one.
Frequently asked questions
What is a .cache file?
A .cache file stores data a program saved to speed itself up next time, such as thumbnails, downloaded assets or precomputed results. The program creates and manages it, and it is usually safe to delete if you need the space.
Can I delete .cache files?
Usually yes. A cache holds data the program can regenerate, so clearing it is generally safe once the program is closed. The only cost is that the program may run a little slower the next time as it rebuilds the cache.
How do I open a .cache file?
Most cache files are not meant to be opened directly, and only the program that made one can read it properly. A hex or text editor may show clues, but there is rarely a reason to open a cache by hand.
Related formats
Sources
Details on this page were checked against authoritative references. How sources are ranked and what is deliberately left out is set out in the methodology.