Loona Automation logoLoona Developer Tools
Home › Code Generators

Random Password Generator

In short: generate genuinely random passwords with the browser's cryptographic random source — choose length and character sets, see the entropy in bits.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

About

Password strength is entropy: length times the logarithm of the character pool. This generator uses crypto.getRandomValues — the operating system's cryptographic random source, the same quality as your browser's security internals — never Math.random, which is predictable and has been the root cause of real token/password compromises. The honest framing: a generator on a web page is fine for throwaway and low-value accounts; for anything that matters, use your password manager's built-in generator, store the result there (never in a text file or a screenshot), and prefer 16+ characters with the manager remembering them so you do not have to.

Frequently Asked Questions

How long should a password be?

16 characters minimum for important accounts; length beats complexity tricks. A 20-character random password from this page carries ~130 bits of entropy with all sets on.

Is generating on a web page safe?

This page generates locally with WebCrypto and sends nothing anywhere. For high-value secrets, a vetted password manager's generator remains the best practice.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.