Skip to the tool
mtool
  • free
  • no sign-up
  • on device
  • random
  • generator

Random String Generator

Generate random strings with exact character lengths and chosen alphabets in your browser — free, with no sign-up, and your results never leave your device unless you choose to share them. Set the character count and choose letters, digits, binary, hexadecimal or a custom ASCII alphabet, then copy one string or the batch.

Your random result will appear here.

Values and hash sources stay in this tab. Only preset settings are saved on this device; custom alphabets and free text are never saved.

Effective alphabet size: 62

1–65,536 per value. Formatting adds characters to the result.

1–1,000 values per batch.

More settings

Optional: up to 32 printable ASCII characters, including spaces.

Optional: up to 32 printable ASCII characters, including spaces.

Formatted values plus line breaks: at most 1,048,576 bytes. JSON export: at most 3,145,728 bytes. Formatting adds no randomness.

Download options

Questions

Can I choose exactly which characters appear?

Yes. Choose a preset alphabet or Custom and enter visible ASCII characters. Repeated symbols are counted once. You can exclude exactly 0, O, 1, I and l; at least two different symbols must remain.

Does the length include a prefix or grouping?

No. Length is the number of randomly chosen characters. Prefix, suffix and separators are added afterward; the result shows both raw and formatted lengths.

Can binary strings have an odd length?

Yes. The Binary alphabet generates individual 0 and 1 characters, so any whole character length from 1 to 65,536 works. For encoded random bytes, use Random Token Generator.

Are the strings saved or sent anywhere?

Generated strings stay in this tab and are never sent or stored by mtool. Preset settings can be saved locally; custom alphabets and free text are not saved.

Is this tool free?

Yes. This tool is free, with no sign-up and no daily limits.

Do I need an account?

No. You can use this tool without an account.

Related tools

Random Token Generator

Generate random bytes as Base64url, Base64, Hex, Base32, Base58 or Binary tokens.

  • random
  • generator
Open

Random Hex Generator

Generate hexadecimal strings with an exact character length or byte length.

  • random
  • generator
Open

Random Hash Generator

Generate real hash digests from fresh random bytes using SHA-256 and 14 other algorithms.

  • random
  • generator
Open