メインコンテンツへスキップ
Z

How to Generate a UUID (v4)

Generate a random UUID (v4) instantly in your browser — step by step, with a free UUID generator.

A UUID is a 128-bit unique identifier. Generating a random version-4 UUID takes a second:

  1. 1

    Open the UUID generator

    Open the UUID generator tool.

  2. 2

    Generate

    A version-4 (random) UUID is produced instantly. Generate as many as you need.

  3. 3

    Copy it

    Copy the UUID and paste it into your code, database or config.

Do it now

よくある質問

どんなドットパスが使えますか?

<code class="font-mono text-xs">faker.*</code> 配下にあるものならすべて利用できます。例えば <code class="font-mono text-xs">person.firstName</code>、<code class="font-mono text-xs">company.name</code>、<code class="font-mono text-xs">finance.iban</code>、<code class="font-mono text-xs">date.past</code> などです。完全な一覧はfaker.jsの公式ドキュメントを参照してください。

パラメータを渡すことはできますか?

はい、丸括弧内にパラメータオブジェクトを指定できます。例:<code class="font-mono text-xs">number.int({min:1,max:100})</code> や <code class="font-mono text-xs">helpers.arrayElement(["a","b","c"])</code> のように記述します。

このデータはどこから取得されますか?

すべてお使いのブラウザ内で処理されます。faker.jsがローカルでデータを生成するため、APIへの通信は一切発生しません。スキーマと生成データがデバイスの外に出ることはありません。