Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

MEGA-Account-Generator

> 编程语言
Open source

MEGA.nz account generator written in Python. Uses Mail.tm temporary emails for generating accounts, and automatically verifies them. Can also be used to keep

198 stars0 likes1 views
WebsiteGitHub

About

MEGA.nz account generator written in Python. Uses Mail.tm temporary emails for generating accounts, and automatically verifies them. Can also be used to keep

MEGA.nz Account Creator

An Open Source demonstration of creating / managing multiple MEGA.nz accounts.

Key Features • How To Use • Acknowledgements • Support • License

Key Features

  • Generate new MEGA.nz accounts in bulk
  • Automatically verify emails
  • Fetch information about available storage
  • Keep accounts alive by logging in periodically

How To Use

Prerequisites:

  • megatools installed and added to your PATH
  • Python 3.6+

Installation:

bash
# Clone this repository
$ git clone https://github.com/f-o/MEGA-Account-Generator.git
# Go into the repository
$ cd MEGA-Account-Generator
# Install dependencies
$ pip install -r requirements.txt

Usage:

bash
# Create new accounts
$ python generate_accounts.py
# Sign in to accounts to keep them alive
$ python signin_accounts.py

Click here for Advanced Usage

bash
# Create new accounts with arguments
$ python generate_accounts.py [-h] [-n NUMBER_OF_ACCOUNTS] [-t NUMBER_OF_THREADS] [-p PASSWORD]
# Sign in to accounts to keep them alive
$ python signin_accounts.py
# Convert old CSV file to new format
$ python convert_csv.py [-h] [-i INPUT_FILE]
  • -n Number of new accounts to generate. If not specified, 3 accounts will be generated.
  • -t Number of threads to use for concurrent account creation. Maximum of 8.
  • -p Password to use for all accounts. If not specified, a random password will be generated for each account.
  • -h Show help.

Convert old CSV file to new format

What's this?

As of May 2024, the script has updated to use a new format for the CSV file. This means that the CSV file (accounts.csv) will be easier to use in the future.

Unfortunately the old format is not supported any more, so you will need to convert it to the new format.

You will need to convert the old CSV file only if you have accounts in the accounts.csv file from before May 2024.

Usage:

bash
# Convert old CSV file to new format
$ python convert_csv.py [-h] [-i INPUT_FILE]
  • -i Path to the input CSV file. If not specified, accounts.csv will be used.
  • -h Show help.

FAQ

  • Will this automatically verify emails?

    • Yes, the script will automatically fetch the verification link from the email, and use it to verify the account.
  • Can I log in to the accounts, on the web, after generating them?

    • Yes, that is how this script is intended to be used. Simply copy the email address and password from the CSV file and log in to the account.
  • There are multiple passwords in the CSV file. Which one should I use?

    • As of May 2024, all columns have appropriate headers.
    • You will need to use the password in the second columns titled MEGA Password.
  • What's with the other password then? And why do I need the Mail.tm ID?

    • The other password, in the Mail.tm Password column, is the password for the Mail.tm account.
    • You can use this password to sign in to the temporary Mail.tm account on their website.
    • In order to access the Mail.tm account, through their API, we also need the ID of the account. This is stored in the case it will be needed in the future.
  • What's with the -p/--password flag? Do I need it?

    • The -p flag is optional.
    • You can use this to specify a password for all accounts. If not specified, a random password will be generated for each account.
  • Can I generate multiple accounts in parallel?

    • Yes, this script can generate multiple accounts in parallel using the -t flag.
    • This is, however, not recommended, and will likely result in rate limits from Mail.tm.
    • The script will automatically retry in the event of a rate limit up to 5 times.
  • Why can I only run 8 threads?

    • Because of rate limits from Mail.tm.
    • We do not want to overload their service, which they generously offer for free.
  • Something is broken? I'm having trouble using this script.

    • Please open an issue on GitHub. Be sure to include information and screenshots.

Acknowledgements

This software was based heavily on IceWreck/MegaScripts.

His original Python script utilized GuerillaMail to generate temporary email addresses.

I've modified the script to use Mail.tm instead, with a lot of help from qtchaos/py_mega_account_generator.

I highly recommend checking out both of their projects.

Support

This project is free and open source.

If you find it useful, please consider supporting the project by donating.

License

MIT License

…

@f-o  ·  soon.to

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonaccount-generatoraccount-managementmegamegadrive

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言