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
Open the UUID generator
Open the UUID generator tool.
-
2
Generate
A version-4 (random) UUID is produced instantly. Generate as many as you need.
-
3
Copy it
Copy the UUID and paste it into your code, database or config.
Do it now
Trình tạo UUID
Tạo UUID trực tuyến — v1, v4, v7 và Nil. Tạo hàng loạt tới 10.000. Miễn phí, không cần đăng ký.
Mở công cụTrình tạo mật khẩu
Tạo mật khẩu ngẫu nhiên mạnh, an toàn về mặt mật mã. Tùy chỉnh độ dài và bộ ký tự — chạy trong trình duyệt của bạn.
Mở công cụTrình tạo JSON ngẫu nhiên
Tạo dữ liệu JSON giả từ schema bằng faker.js. Xuất đa định dạng: JSON, CSV, TSV, XML. Miễn phí, chạy hoàn toàn trong trình duyệt.
Mở công cụCâu hỏi thường gặp
Tôi có thể dùng những dot-path nào?
Bất kỳ gì nằm dưới <code class="font-mono text-xs">faker.*</code> — ví dụ <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>. Xem tài liệu faker.js để có danh sách đầy đủ.
Tôi có thể truyền tham số không?
Có — đặt đối tượng tham số trong dấu ngoặc đơn. Ví dụ: <code class="font-mono text-xs">number.int({min:1,max:100})</code> hoặc <code class="font-mono text-xs">helpers.arrayElement(["a","b","c"])</code>.
Dữ liệu này lấy từ đâu?
Mọi thứ chạy trong trình duyệt của bạn — faker.js tạo dữ liệu cục bộ, không có lệnh gọi API nào. Schema và dữ liệu của bạn không bao giờ rời khỏi thiết bị.