Skip to content
xNotePadAI

Note Recovery

Lost your notes? They're probably still here. This page helps you recover them.

Automatic Recovery

Click the button below to check if a backup exists and attempt recovery.

Checking...

Manual Recovery Steps

If the automatic tool doesn't work, follow these steps:

Step 1: Open Developer Tools

Press F12 (or Cmd+Option+I on Mac) to open DevTools.

Step 2: Go to Console

Click the "Console" tab in DevTools.

Step 3: Check for backup

Paste this and press Enter:

console.log('Backup size:', localStorage.getItem('xnotepad-backup')?.length || 0, 'chars')

If it shows more than 0 chars, your backup exists.

Step 4: Restore the backup

Paste this and press Enter:

localStorage.setItem('xnotepad-notes', localStorage.getItem('xnotepad-backup')); sessionStorage.removeItem('xnotepad-session-unlocked'); location.href = '/';

Step 5: Enter your password

If encryption was enabled, the lock screen will appear. Enter your password to decrypt your notes.

Why Does This Happen?

  • Encryption + page reload — If the encryption session expires and the page reloads, the app can't read the encrypted notes and may start fresh. The encrypted data is automatically backed up.
  • Browser cleared localStorage — If you clear "site data" in browser settings, notes are removed. The backup key may also be gone in this case.
  • Private/Incognito mode — Data doesn't persist between sessions in private browsing.
  • Forgotten password — If encryption was enabled and you've forgotten the password, the notes cannot be recovered (AES-256 encryption is irreversible without the key).

How to Prevent Data Loss

  • Export regularly — Use Settings → Export to download a .zip of all notes
  • Remember your encryption password — There is no recovery if forgotten
  • Don't clear site data — xNotePadAI stores everything in localStorage
  • Enable AI sync — When enabled, notes are also synced to the server (backup)