Are online password generators safe?

There's something paradoxical about searching for "password generator" online: you're asking a website for a secret. If that site builds it on its server, your new password existed on someone else's machine first. Does that mean all online generators are dangerous? No — but their safety depends on two things almost nobody checks: where the password is generated and with what randomness. Here's what both mean and how to verify them in a minute.

Risk 1: where the password is generated

A generator can work in two ways. In the server-side model, you click the button, the server creates the password and sends it to you; it has passed through its memory, possibly its logs, and traveled across the network to reach you. In the local or client-side model, the page's JavaScript generates it inside your browser: it never leaves your device and the server never knows it.

This isn't about distrusting every server-side site on principle; most store nothing. It's that a password is the one piece of data that, by definition, nobody but you should know — and the local architecture guarantees that without having to trust anyone.

Risk 2: the quality of the randomness

A generated password is only as strong as the randomness that produced it. Programming languages have two kinds of random number generators: the "regular" ones, meant for games and animations (in JavaScript, Math.random), which are predictable if someone knows their state; and the cryptographically secure ones (in the browser, crypto.getRandomValues, the Web Crypto API), designed precisely for keys and secrets. A generator using the former can produce passwords that look random and aren't entirely so.

You can't see this with the naked eye: the password looks just as scrambled either way. That's why what the service declares matters and, where possible, whether its code is visible.

The one-minute check

  1. The airplane-mode test. Load the page, disconnect from the internet and generate a new password. If it works, generation is local: it's physically impossible for it to be sending it anywhere.
  2. Does it ask for an account or keep a "history"? A generator that shows you your previous passwords is storing them somewhere. A serious generator remembers nothing.
  3. Does it say how it generates randomness? Look for a mention of crypto.getRandomValues or "cryptographically secure". If it only promises "super secure passwords" without explaining how, that's advertising, not information.
  4. How many third-party scripts does it load? A generator page stuffed with third-party ads runs code from many domains right next to your freshly created password. The cleaner, the better.

Length matters more than symbols

The strength of a random password is measured in bits of entropy, and it grows faster with length than with character variety. With the full set of 94 printable characters, the math is roughly this:

LengthApproximate entropyTypical use
12 characters~79 bitsReasonable minimum for personal accounts
16 characters~105 bitsRecommended for email, banking and managers
20 characters~131 bitsAdmin accounts, Wi-Fi
32 or more~210 bits or moreAPI keys, server secrets, tokens

The practical consequence: if a password manager will store it and you'll never type it, there's no reason to stop at 12. Make it 20 or more and forget about it.

When an online generator makes sense

Honestly, for your everyday accounts the best option is the built-in generator of a password manager: it creates and saves in the same step. The online generator shines in the cases the manager doesn't cover well:

  • Technical secrets: session keys, tokens, environment variables (a 64+ character SESSION_SECRET, for example), database passwords.
  • Passwords you'll share physically: your home or business Wi-Fi — which you can then turn into a Wi-Fi QR code so guests connect without typing it.
  • When your manager isn't at hand: on someone else's computer or while setting up a new device.
  • Shared or temporary accounts you don't want mixed into your personal vault.

Try it now: our generator uses the browser's Web Crypto API, supports up to 128 characters and stores nothing. Run the test: disconnect from the internet and keep generating.

Open the password generator →

Red flags

  • It sends the generated password by email or offers to "save it to the cloud" without you asking.
  • It shows a history of generated passwords.
  • It stops working offline: it generates on the server.
  • It doesn't explain its source of randomness and the page is loaded with third-party scripts.
  • It caps length at 16 or 20 characters: not enough for technical secrets.

How EzzyApps does it (and how to check)

Our password generator runs entirely in your browser with crypto.getRandomValues, the browser's own cryptographically secure generator; it supports 8 to 128 characters; it has no account, no history and no server that ever learns the result. No need to take our word for it: disconnect from the internet and generate another one. It's the same principle the whole suite is built on, explained in local processing and privacy.

Frequently asked questions

Can the generator "remember" my password and use it later?

A local generator can't: the password exists only in your tab's memory until you copy it, and disappears when you close it. With a server-side one it depends on their policy and logs, and you have no way to verify it from the outside.

Is a passphrase better than a random password?

For passwords you have to memorize, a long multi-word passphrase is excellent and far easier to remember. For those stored by a manager or a config file, the long random one wins. We compare both methods in depth in how to create secure passwords and remember them.

How many characters does a server or API key need?

As a rule of thumb, 32 random characters already exceed any realistic brute-force attack by a wide margin; many frameworks ask for 64 for session-signing secrets. Since nobody will ever type it, there's no reason to go short.

Conclusion

An online password generator is safe when it meets two verifiable conditions: it generates in your browser (airplane-mode test) and it uses cryptographic randomness (it says so and, better still, you can read it in its code). If it fails the first, you've shared your secret before using it; if it fails the second, it may be less random than it looks. To generate one right now with both guarantees, open the EzzyApps password generator: free, up to 128 characters, and nothing ever leaves your device.


All EzzyApps tools

QR Generator

Create QR codes for links, text or vCards instantly.

Image to PDF

Combine multiple photos into a single PDF without uploading them.

Password generator

Strong passwords and passphrases, plus a meter that tells you how well yours holds up.

Compress images

Reduce the weight of your JPG, PNG or WEBP photos without uploading them.

Word counter

Count words, characters, sentences and reading time instantly.

Uppercase & lowercase

Convert text to UPPERCASE, lowercase, Title or Sentence case and clean up spaces and line breaks.

Percentage calculator

Calculate percentages, what % one figure is of another, and the change between two values.

Unit converter

Length, weight, temperature, volume, area and time. Two-way live conversion.

BMI calculator

Calculate your Body Mass Index and the WHO category, in metric or imperial.

Lorem Ipsum generator

Create filler text in paragraphs, sentences or words with one click.

Age calculator

Exact age, difference between dates with business days and adding or subtracting days.

Private notepad

Write notes with autosave in your browser. Multi-note, export to .txt or .md. No server.

Loan calculator

Monthly payment, total interest and amortization schedule, with extra payments. Car, mortgage or personal.

Convert & resize images

JPG, PNG or WebP; exact pixels or KB; EXIF/GPS stripped; document photo.

QR code reader

Read a QR from an image, a pasted screenshot or the camera and see what it contains before opening it.

Numbers to words

Write amounts in words for checks, invoices and contracts, in each country's format.

Developer tools

JSON, Base64, URL, JWT, MD5/SHA hashes and UUID, without sending your data to any server.

Convert PDF

Turn a PDF into Word, Markdown, text or HTML with its headings, lists and tables, without uploading it.

Merge and split PDF

Combine PDFs, split them by pages and reorder, rotate or remove pages, without uploading them.

Driver calculator

Hours worked, cost per mile or km and what you keep from each trip or block.