Drive to MEGA
Drive to MEGA

Copy Google Drive to MEGA straight from your browser

Pick files or whole folders, choose a MEGA folder, press transfer. Everything streams through your own browser into MEGA's end-to-end encryption — no server, no sign-up, no install.

100% free & open source No server in between Read-only Google access Installable app

Google Drive Not connected

MEGA Not connected

Nothing selected Select files on the left, a destination on the right.
No transfers yetSelect files in Drive, pick a MEGA folder, then tap Transfer.

What is Drive to MEGA?

Drive to MEGA is a free web app that copies files and folders from Google Drive to a MEGA cloud storage account directly in your browser. It needs no installation, no sign-up and no server: files stream from the Google Drive API into MEGA's client-side encryption on your own device.

Price
Free, no limits
Runs on
Any modern browser · installable app
Google access
Read-only (drive.readonly)
Servers involved
None — browser only
Copies
Files, whole folders, shared files
Google Docs
Exported to Office or PDF
MEGA login
Email + password, 2FA supported
Source code
Public on GitHub

How it works

Three steps. Your browser does the work, so nothing — not files, not passwords — ever touches a third-party server.

Connect Google Drive

Sign in with Google and grant read-only access. Browse My Drive, Shared with me, Starred or Shared drives.

Log in to MEGA

Your password is used locally to derive MEGA's encryption key — supports two-factor authentication. Pick or create a destination folder.

Transfer

Select files or entire folders and press transfer. Folder structure is recreated and each file is streamed and encrypted chunk by chunk.

Everything you need for a smooth move

Built for big libraries and flaky connections.

Whole folders

Recursively copies folders and keeps the structure. Existing MEGA folders are reused, shortcuts are followed, loops are detected.

Smart retries

Rate limits, network blips and server hiccups are retried automatically with back-off. Pause, resume, retry or remove any item.

Google Docs export

Docs, Sheets, Slides and Drawings are exported to Office formats or PDF — or skipped if you prefer.

No duplicates

Files already in the destination are skipped, or keep both copies with automatic renaming. You choose.

Installable app

Add it to your home screen or desktop. Keeps the screen awake while transferring and notifies you when the queue finishes.

Search & sort

Search all of Drive, filter the current folder, sort by name, size or date, and shift-click to select ranges.

Private by design

There is no backend to hack, log or leak. The whole app is a static page you can read in full on GitHub.

Read-only Google access

Uses the drive.readonly scope. The access token lives in memory only, expires within an hour and is revoked when you disconnect.

Password never stored

Your MEGA password is turned into a key in your browser and then discarded. It's never saved, logged, or sent anywhere but MEGA.

Locked-down page

A strict Content Security Policy allows only Google and MEGA APIs, with no inline scripts and no third-party CDNs. The MEGA library is pinned with Subresource Integrity.

Frequently asked questions

Still stuck? Open an issue on GitHub.

Is Drive to MEGA free?

Yes. It's free and open source, with no account, no limits and no ads. You only need a Google account and a MEGA account.

Do my files pass through your server?

No — there is no server. Files stream from Google's API into your browser and are encrypted by MEGA's library in your browser before upload. Your own internet connection is used for both the download and the upload.

Is my MEGA password stored?

No. It's only used in your browser to derive MEGA's login key and is never saved or sent anywhere except MEGA.

Can it change or delete my Google Drive files?

No. It requests read-only Drive access, so it can list and download files but never modify or delete them.

What happens to Google Docs, Sheets and Slides?

They're exported to Word, Excel and PowerPoint (or PDF), or skipped — your choice. Google limits exports to about 10 MB per file.

Can I close the tab while it transfers?

No. Transfers run in your browser, so keep the tab or app open until the queue finishes. The app keeps your screen awake and can notify you when it's done.

My Google session expired mid-transfer. Did I lose progress?

No. Google sign-ins last about an hour. When yours runs out the queue pauses and a "Renew" button appears — one click and it carries on where it left off.

Why does Google say the app isn't verified?

Self-hosted copies use your own Google Cloud project, which stays in "Testing" mode for personal use. Only the test users you add can sign in, and the warning is expected.

Settings

Google sign-in

How do I get a Client ID?
  1. Open Google Cloud Console → APIs & Services and enable the Google Drive API.
  2. Configure the OAuth consent screen (External, Testing) and add your Gmail as a test user.
  3. Create Credentials → OAuth client ID → Web application.
  4. Under Authorized JavaScript origins add
  5. Paste the Client ID below. No client secret is needed — never paste one here.

Transfers

Appearance

Privacy

Only your preferences (and a Client ID, if you entered one) are saved on this device. Tokens and passwords are kept in memory and gone when you close the page.

Keyboard shortcuts
/Search Google Drive Ctrl+ A select everything in the current Drive folder Shift+ click to select a range of files EscClear selection / close dialogs BackspaceGo up one Drive folder TStart the transfer PPause or resume the queue ?Show this help