Fix tmp File HTML Error in Google Chrome
In this article
Yes, you can usually fix the tmp file HTML error in Google Chrome by clearing the browser cache and disabling problematic extensions. This error typically appears when Chrome fails to load a temporary file (often a .tmp file) that it uses to render HTML pages, causing a blank page, a download prompt, or a "This site can’t be reached" message. The fix is straightforward and takes only a few minutes.
What You'll Need
- Access to Google Chrome on your computer (Windows, Mac, or Linux).
- Administrator rights on your computer (for clearing system temp files).
- Your Chrome bookmarks and passwords backed up (optional, but recommended before clearing data).
Step-by-Step
- Close all Chrome windows and tabs. Make sure Chrome is fully closed. On Windows, check the system tray for a Chrome icon and exit from there if needed.
- Clear Chrome's cache and cookies. Open Chrome, click the three-dot menu in the top-right corner, go to More tools > Clear browsing data. In the dialog that opens, set the time range to All time. Check the boxes for Browsing history, Cookies and other site data, and Cached images and files. Click Clear data. (Note: Menu labels may differ slightly by Chrome version, but the path is similar.)
- Disable extensions. Type
chrome://extensionsin the address bar and press Enter. Toggle off all extensions, or remove ones you don't recognize. Restart Chrome and test if the error is gone. If it is, re-enable extensions one by one to find the culprit. - Clear the system temp folder. Close Chrome. On Windows, press
Win + R, type%temp%, and press Enter. Select all files in the folder (Ctrl+A) and delete them. Skip any files that are in use. On Mac, open Finder, pressCmd + Shift + G, type/tmp, and delete contents (you may need to enter your password). On Linux, use the terminal:rm -rf /tmp/*(be careful with this command). - Reset Chrome settings. Type
chrome://settings/resetin the address bar. Click Restore settings to their original defaults, then confirm. This will disable extensions, clear temporary data, and reset startup pages—but it will not remove bookmarks, passwords, or history. - Update Chrome. Click the three-dot menu, go to Help > About Google Chrome. Chrome will automatically check for updates and install them if available. Relaunch Chrome after updating.
- Reinstall Chrome (if nothing else works). Uninstall Chrome via your system's uninstaller (Windows: Settings > Apps; Mac: drag Chrome to Trash; Linux: use your package manager). Then download the latest version from the official Google Chrome website and install it. Your bookmarks and passwords will sync if you're signed in with a Google account.
Common Mistakes
- Not closing Chrome before clearing temp files. If Chrome is running, it may lock some temp files, so deletion fails or the error persists.
- Skipping the cache clear. Corrupted cached HTML files are a primary cause of this error. Clearing only cookies won't fix it.
- Deleting the wrong temp folder. On Windows, the user temp folder (
%temp%) is different from the system temp (C:\Windows\Temp). Stick to the user temp folder to avoid system issues. - Reinstalling without backing up. If you're not signed in to Chrome, uninstalling will erase local bookmarks and passwords. Always back up or sync first.
Tips
- Use Chrome's built-in cleanup tool: Go to
chrome://settings/cleanup(on Windows) to scan for harmful software that might interfere with temp files. - Check for malware with a trusted antivirus program—malware can corrupt temp files.
- If the error only happens on one website, try opening that site in an incognito window (Ctrl+Shift+N on Windows, Cmd+Shift+N on Mac). If it works, the issue is likely cache or extension related.
- Keep Chrome updated automatically to avoid known bugs that cause temp file errors.
Troubleshooting
If the error persists after following the steps above:
- Check your internet connection. A flaky connection can cause Chrome to fail downloading temporary files. Restart your router or try another network.
- Disable hardware acceleration. Go to
chrome://settings/systemand turn off Use hardware acceleration when available. Restart Chrome. - Create a new Chrome profile. Type
chrome://settings/people, click Add profile, and test with a fresh profile. If the error goes away, your original profile is corrupted—transfer bookmarks and passwords manually. - Check for system file corruption. On Windows, run
sfc /scannowin Command Prompt (as administrator). On Mac, run First Aid in Disk Utility. On Linux, check disk health withfsck. - If the error appears as a download prompt for a .tmp file, it might be a server-side issue. Try a different browser (e.g., Firefox) to see if the site works there. If it does, the problem is Chrome-specific; if not, the website is at fault.
Frequently Asked Questions
What exactly is a .tmp file in Chrome?
Chrome uses temporary files (with .tmp extension) to store data while loading web pages, such as partially downloaded HTML files. If these files become corrupted or are blocked, Chrome may display an error instead of the page.
Will clearing my cache log me out of websites?
Yes, clearing cookies (which are part of the cache) will log you out of most websites. You'll need to sign in again, but your saved passwords in Chrome will remain if you have them saved.
Is it safe to delete files in the %temp% folder?
Yes, the user temp folder is safe to clear. Windows and other programs will recreate needed files. However, if a file is in use, you'll get an error—just skip it.
Why does the error only happen on certain websites?
Certain sites may have heavy scripts or large HTML files that are more prone to temp file corruption. It could also be a conflict with a specific extension on those sites.
Will resetting Chrome remove my bookmarks?
No, resetting Chrome restores default settings but does not delete bookmarks, passwords, or history. However, it will disable extensions and clear temporary data.
Can I prevent this error from happening again?
Regularly clearing your cache (every few weeks), keeping Chrome updated, and avoiding suspicious extensions can reduce the likelihood. Also, ensure your system has enough free disk space—low storage can cause temp file issues.