How to Recover Text After a Chrome Crash

Published: September 25, 2026. Updated: October 2026 by Andrew Apell, who builds Form ReDraft

A crash is the worst case, because it is the only one that gives you no warning at all. You close the laptop at half past eleven and open it again to find Chrome telling you it did not shut down properly.

Your tabs come back. Your text does not. This article explains exactly why, and what you can do about it before it happens to you.

What comes back after a crash

Chrome keeps a list of the tabs you had open and offers to restore them. That part works well. Each page reloads from the network.

The moment a page reloads, it is a new page. And the browser does not keep general form content, so every text field, every textarea and every rich text editor surface comes back exactly as it was before you typed. Which is to say empty.

There is one narrow exception. If Chrome's back-forward cache still holds the page, going back may restore it with its field values intact. After a crash this is a coin flip, and after a restart it almost never happens.

Why writing on every keystroke is not the answer

The instinct is to save as often as possible. Do not. Writing to disk on every keystroke is slow, it wears storage and it hammers the extension's own event loop.

The right design is a short pause. Form ReDraft waits about 400 milliseconds after your last keystroke and then writes. Typing at ninety words a minute, you are pausing constantly anyway, so the write happens naturally between words rather than during them.

The worst case is therefore bounded and small: the characters you typed in the last fraction of a second before the crash. On a normal keyboard that is the tail of one word. It is a completely different proposition from losing an hour.

Leaving a field flushes it straight away, so switching tabs, clicking a link or pressing submit never leaves a gap you care about.

Memory is not storage

There is a specific trap here that catches developers building these tools. Chrome gives extensions an in-memory area designed for exactly this job, called session storage, and recommends it for service worker state that must survive the worker being put to sleep.

It is the wrong place for anything that must survive a browser restart. Chrome documents that this area is cleared when the browser restarts, when the extension reloads and when it updates.

If an encryption key lives in session storage, every encrypted draft becomes unreadable the moment you restart your computer. The data is intact and the key is gone.

This is not hypothetical. It is a design mistake that appears in drafts of tools built on a plausible-sounding architecture, and it produces a failure that looks like data loss and is actually key loss. Form ReDraft keeps its key in local storage for exactly this reason, and the documentation explains the reasoning.

Run the crash test yourself

Do not wait for a real crash to find out whether your setup works. This takes two minutes.

  1. Open a page with a form and type a long, distinctive paragraph into a field. Use words you would notice if they came back wrong.
  2. Wait a couple of seconds so any pending write has completed.
  3. Close every Chrome window. Then check the taskbar: is Chrome gone, or did it leave a process running?
  4. Reopen Chrome. Navigate back to the same page.
  5. Confirm the restore badge appears and that the text matches.

For a harder test, kill the process from a terminal instead of closing politely. On Windows, taskkill /IM chrome.exe /F does it. On macOS, killall "Google Chrome". That is a real crash rather than a clean exit, and it is the version that matters.

If your recovery tool uses a key held in memory, this is the test that exposes it. A tool that only appears to work will pass a polite close and fail the hard kill.

Reduce the exposure

No recovery setup removes the need for sensible habits, and these three help regardless of what you have installed:

  • Draft long text outside the browser. A text editor is immune to crashes, tab closes and route changes alike.
  • Save before the risky action. The moments that lose the most text are the deliberate ones: closing a tab, navigating away and pressing submit. Save first.
  • Keep a backup of anything irreplaceable. Recovery tooling is a safety net for text you have already written, not a substitute for the archive you keep of anything that matters.

FAQ

Does Chrome restore my tabs after a crash?

It offers to restore the tabs you had open. The pages come back, but form fields are empty, because the browser does not keep general form content.

Why does an extension need to write to disk continuously?

Because a crash gives no warning. Whatever is only in memory at the time is gone, so anything you want to survive has to already be on disk.

What is the realistic worst case?

With a 400 millisecond pause before writing, you lose at most the characters typed in the final fraction of a second before the crash.

Does closing Chrome normally lose drafts?

No. Drafts stored in local extension storage are written to disk and survive a normal close, a restart and a crash equally.

Test it before you need it

Form ReDraft writes your form text to disk as you type, so a hard browser kill costs you at most the last fraction of a second of typing.

Read the documentation
Project Slidecut