مولّد الأرقام العشوائية
أنشئ أعدادًا صحيحة عشوائية ضمن حدود، مع خيار عدم التكرار.
المدخلات
تلميح: اضغط Ctrl + Enter للتشغيل
الإعدادات المحفوظة
المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.
حول هذه الأداة
Draw winners from a numbered list, pick random test cases, assign seats or choose lottery-style numbers. This generator produces whole numbers between a minimum and maximum you set, up to 1,000 at a time, with the option to prevent repeats. It uses your browser’s cryptographic random source with an unbiased selection method, so every number in the range is equally likely.
طريقة الاستخدام
- Enter the smallest and largest allowed numbers.
- Enter how many numbers you want.
- Choose whether values must be unique.
- Run it and copy the list; run again for a new draw.
كيف يعمل الحساب
Values come from crypto.getRandomValues with rejection sampling to avoid modulo bias. With uniqueness on, numbers already drawn are not repeated, so the count cannot exceed the size of the range.
مثال تطبيقي
A teacher picks 6 unique numbers from 1 to 49 to choose which students present first. A run might give 38, 40, 7, 29, 10 and 12. Asking for 10 unique numbers from 1 to 5 is rejected, because only five different values exist.
القيود
- Whole numbers between −1,000,000,000 and 1,000,000,000.
- Up to 1,000 numbers per run.
- No seed, so draws cannot be reproduced.
آخر تحديث:
الأسئلة الشائعة
Is it truly random?
It uses the operating system’s cryptographically secure generator, suitable for fair draws.
Can I use it for an official lottery or contest?
It produces fair numbers, but official draws may have legal requirements for witnesses and audit trails.
Can I draw names instead of numbers?
Number your list and draw numbers, or use spin the wheel.
استكشاف الأخطاء وإصلاحها
It rejects my request.
With uniqueness on, the count cannot exceed max − min + 1.
I want the numbers sorted.
Copy them into sort lines.
I need decimals.
Generate integers over a larger range and divide, e.g. 0–1000 ÷ 1000.
الخصوصية & مجاني
هل تُخزَّن مدخلاتي؟
تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.
هل هذه الأداة مجانية؟
نعم. لا يلزم تسجيل أو دفع.