Tạo số ngẫu nhiên trong bất kỳ khoảng nào, có hoặc không có bản trùng, bằng tính ngẫu nhiên an toàn.
Cách dùng Số ngẫu nhiên
Đặt giá trị tối thiểu và tối đa và bạn muốn bao nhiêu số.
Chọn liệu có cho phép trùng lặp và cách sắp xếp.
Nhấn Tạo và sao chép các số.
A random number generator that returns whole numbers in any range you set, optionally with no duplicates and optionally sorted, using the browser's secure randomness so the results are genuinely unpredictable.
Everything runs locally with nothing sent to a server, and each run produces a fresh set, since there is no fixed seed to reproduce.
You choose the minimum and maximum and how many numbers you want. The output can allow repeats, or be made unique, in which case the count is capped at the size of the range since you cannot draw more distinct numbers than exist in it.
The randomness comes from crypto.getRandomValues, the browser's cryptographically secure generator, rather than a simple pseudo-random function, so the numbers are not predictable from one another.
That makes it well suited to casual draws and decisions: picking a raffle or giveaway winner, choosing a random participant, rolling for a game, sampling rows for a spot check, or just breaking a tie.
For official lotteries and gambling, certified hardware random generators are legally required; this tool is for everyday, informal randomness rather than regulated draws.
Câu hỏi thường gặp
Chúng dùng trình tạo ngẫu nhiên an toàn về mật mã của trình duyệt (crypto.getRandomValues), phù hợp cho trò chơi, bốc thăm và quyết định.
Có. Tắt "cho phép trùng lặp" để lấy các số khác biệt. Số lượng khi đó bị giới hạn ở kích thước của khoảng.
Nó tuyệt cho bốc thăm thông thường và chọn người thắng. Đối với xổ số chính thức, cần trình tạo phần cứng được chứng nhận.
Nhúng công cụ này
Thêm công cụ này vào trang web của riêng bạn. Sao chép đoạn mã bên dưới; nó tự động cập nhật.
<iframe src="https://monu.tools/embed/vi/random-number-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Công cụ liên quan
Chuyển đổi một thời điểm trên các múi giờ chính của thế giới, với giờ tiết kiệm ánh sáng ban ngày được xử lý tự động.
Giải các bài toán quy tắc tam suất thuận và nghịch: nếu A tương ứng với B, thì C tương ứng với gì?
Tính tiền boa và chia hóa đơn cho bất kỳ số người nào, với tùy chọn làm tròn lên.
Tính điểm trung bình có trọng số từ điểm trường học Đức (1 đến 6) với trọng số tùy chỉnh.