How strong is a 20-character random string, really?
Strength in a random string comes down to one number: how many equally likely strings could have been made. It is counted in bits, where every extra bit doubles the count. Working it out for a real example shows what the strength line on this page means, and why the way the characters are drawn matters as much as how many there are.
Take the four switches all on: 26 lowercase letters, 26 uppercase, 10 digits and the 16 symbols on this page. That is an alphabet of 78 characters. Each character drawn from it carries log2(78) bits, about 6.29. Twenty of them carry 20 × 6.29, or about 125.7 bits. In other words there are 78^20 possible strings, roughly 2^125.7. An attacker who can test a billion guesses every second would need far longer than the age of the universe to try even a tiny fraction of them.
That figure is only true if every character really is equally likely, and that is where most home-made generators slip. A random byte has 256 values. The obvious way to pick a character is to divide the byte by 78 and use the remainder. But 256 is 3 × 78 with 22 left over, so the byte values 234 to 255 would wrap round onto the first 22 characters of the alphabet. Those 22 would come up with 4 chances in 256, the other 56 with only 3. The first 22 characters would be a third more likely than the rest, and a careful attacker would guess them first. This page throws away any byte of 234 or more and draws again. It wastes about 9% of the bytes, which costs nothing you could notice, and the 125.7 bits are real.
The Secret key preset works the other way round. It does not pick characters at all: it takes random bytes and writes them down. Thirty-two bytes are 256 bits, because every byte is 8 bits and every value is used. Written as hex, two characters per byte, that is 64 characters. Written as Base64, four characters for every three bytes, it is 43 characters plus one = of padding. Base64url uses - and _ instead of + and / and drops the padding, so it is 43 characters that can go anywhere, including a URL. All three are the same 256-bit secret; only the spelling differs. Sixteen bytes give 128 bits, which is enough for most tokens; sixty-four bytes give 512, which suits HMAC keys for SHA-512.
A few limits are worth stating plainly. The bits measure how hard the string is to guess, nothing else. They do not protect a secret you paste into a chat, commit to a repository or leave in a log. Avoid lookalikes and Never use both shrink the alphabet, and the strength line goes down with them, so add a character or two of length to make up for it. And the strength assumes the browser’s random source is sound, which crypto.getRandomValues is in every modern browser: it draws from the operating system’s cryptographic generator. Everything happens on this page, so the string exists only on your screen until you copy it.