Tiny Online Tools logoTiny Online ToolssearchBuscar ferramentas…grid_viewTodas as ferramentas
Iniciochevron_rightFerramentas de Segurancachevron_rightGerador de strings aleatóriasGerador de strings aleatórias

Gerador de strings aleatórias

Gere strings aleatórias para tokens e identificadores.

Arraste para definir um tamanho entre 1 e 128 caracteres

Ferramentas semelhantes

Gerador de chaves de licença

Gerador de chaves de licença

Gere chaves de licença de software com segmentos, tamanho, separador e conjunto de caracteres configuráveis.

Gerador de Datas Aleatórias

Gerador de Datas Aleatórias

Gere datas aleatórias dentro de um intervalo especificado com opções de quantidade, formato e hora.

Gerador de ID de sessão

Gerador de ID de sessão

Gere identificadores de sessão aleatórios com diferentes alfabetos e comprimentos.

Lista de senhas aleatórias

Lista de senhas aleatórias

Gere listas de senhas seguras com conjuntos de caracteres configuráveis.

Gerador de miniaturas de video

Gerador de miniaturas de video

Extraia um unico quadro de qualquer video em um ponto escolhido e salve como miniatura PNG.

HEX visualizador

HEX visualizador

View any file as a HEX dump com offset, HEX bytes, e ASCII columns.

JSON para YAML

JSON para YAML

Converta JSON em YAML.

apps

Mais ferramentas

Explore nossa colecao completa de ferramentas online gratuitas.

Random String Generator

Random strings are fundamental to modern security—they're used as API keys, authentication tokens, salts for password hashing, nonces for preventing replay attacks, and countless other purposes. This tool Geras cryptographically secure random strings with customizable character sets and lengths, making it flexible enough for nearly any use case.

Character set options

Different applications require different character sets. Alphanumeric strings (letters and digits) work everywhere. Hexadecimal (0-9, a-f) is perfect for database values and low-level protocols. Base64-safe strings are compact and safe for URLs. Numeric-only strings work for codes where other characters might be problematic. Define your own custom charset when you need specific characters—useful when integrating with legacy systems with restricted character support.

Cryptographic security

The tool uses the Web Crypto API (crypto.getRandomValues) to Gera unpredictable bytes. Unlike Math.random(), which is suitable only for games and non-security purposes, this produces cryptographically secure randomness suitable for tokens, keys, and authentication.

Configurable length

Gera strings from 1 to 128 characters. Longer strings have more entropy and are more resistant to brute force. The character set size and string length together determine total entropy: a 32-character alphanumeric string has far more entropy than a 10-character one. For most security purposes, 32+ characters is appropriate.

Live generation mode

Enable auto-Gera to instantly see a new random string whenever you adjust length or character set. This makes it easy to experiment and find the right balance for your needs. Otherwise, click Gera manually when you want a fresh string.

Common Casos de uso

Gera API tokens, database salts, CSRF tokens, session IDs, email confirmation codes, password reset tokens, OAuth client secrets, and any other values that need to be random and unguessable.