The LocalStorage Migrator Guide

This method uses Base64 encoding to package your data into a single, executable command. This prevents the browser from getting confused by quotes, backslashes, or special characters.

Step 1: Export from Source Website

  1. Open the Web Console (F12 or Cmd + Option + J) on the website you want to export from.
  2. Paste the following command and hit Enter:
    copy(`const data = JSON.parse(atob("${btoa(JSON.stringify(localStorage))}"));
    Object.keys(data).forEach((key) => {
        localStorage.setItem(key, data[key]);
    });`);

    What this does: It takes your local storage, turns it into a Base64 string, and wraps it in a “ready-to-run” script that is automatically copied to your clipboard.

Step 2: Import to Target Website

  1. Open the Web Console on your destination website.
  2. Paste (Ctrl+V / Cmd+V) the contents of your clipboard and hit Enter.
  3. Refresh the page to see your imported data in action.

Important notes

  • ⚠️ Overwrite Warning: This script will overwrite any existing keys in the destination localStorage if they share the same name.