Tiny Online Tools logoTiny Online Toolssearchツールを検索…grid_viewすべてのツール
ホームchevron_rightセキュリティツールchevron_rightランダム文字列生成ツールランダム文字列生成ツール

ランダム文字列生成ツール

トークンや識別子向けのランダム文字列を生成します。

1〜128 文字の長さを設定します

関連ツール

Bcrypt ジェネレーター

Bcrypt ジェネレーター

bcrypt パスワードハッシュを生成します。

JWT デコーダー

JWT デコーダー

JWT トークンをデコードして検査します。

MD5 ジェネレーター

MD5 ジェネレーター

MD5 ハッシュを素早く生成します。

SHA-256 生成ツール

SHA-256 生成ツール

テキストから SHA-256 ハッシュを生成します。

JSONからXMLへ

JSONからXMLへ

JSON データを XML に変換します。

サブネット計算機

サブネット計算機

任意の IPv4 サブネットについて、ネットワークアドレス、ブロードキャストアドレス、サブネットマスク、ワイルドカードマスク、利用可能ホスト範囲を計算します。

CSV 結合

CSV 結合

行を積み重ねるかキー列で結合して複数のCSVファイルをマージします。

apps

もっと見る

無料オンラインツールの全コレクションを見る。

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 生成s 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 生成 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

生成 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-生成 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 生成 manually when you want a fresh string.

Common 使用例

生成 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.