난수 생성기

Random Number Generator

난수 생성기란?

난수 생성기는 원하는 최소~최대 범위 안에서 지정한 개수만큼 랜덤 숫자를 뽑는 도구입니다. 추첨·설문 대상 뽑기·연습 문제 번호 뽑기처럼 특정 범위의 숫자가 필요한 다양한 상황에 쓸 수 있습니다.

사용 방법

최소값·최대값으로 범위를, 뽑을 개수로 몇 개를 뽑을지 정하세요. 중복 허용 안 함을 켜면 같은 숫자가 두 번 나오지 않으며, 이때 뽑을 개수는 범위 안의 전체 숫자 개수를 넘을 수 없습니다. 정렬로 결과를 뽑힌 순서·오름차순·내림차순 중 골라 표시할 수 있고, 결과 복사로 클립보드에 바로 복사됩니다.

공정성 · 개인정보

각 숫자는 브라우저의 암호학적 난수(crypto)로 뽑으며, 리젝션 샘플링으로 나머지 편향을 제거해 범위 안의 모든 숫자가 동일한 확률을 갖습니다. 입력·결과는 서버로 전송되지 않습니다.

참고: 1~45에서 6개를 중복 없이 뽑는 고정 규칙이 필요하면 로또번호 생성이 더 간단합니다.
What is this?

Random Number Generator draws a chosen count of random numbers from a minimum–maximum range you set. Useful for raffles, survey sampling, or picking numbers for practice problems — anywhere you need numbers from a specific range.

How to use it

Set the range with Minimum and Maximum, and choose how many to draw with Count. Turn on No duplicates to prevent the same number appearing twice — in that case Count can't exceed the number of values in the range. Use Sort to display results in drawn order, ascending, or descending, and Copy result to copy straight to the clipboard.

Fair & private

Each number comes from the browser's cryptographic random generator (crypto) with rejection sampling to remove modulo bias, so every value in the range is equally likely. Nothing is sent to a server.

Note: For a fixed 1–45, pick-6-without-duplicates rule, the Lotto Number Generator is simpler.
난수는 공정한 무작위인가요?
네. 브라우저의 암호학적 난수 생성기(crypto.getRandomValues)로 뽑으며, 나눗셈 나머지의 편향을 없애는 리젝션 샘플링을 적용해 지정한 범위 안의 모든 숫자가 동일한 확률을 갖습니다. crypto를 지원하지 않는 환경에서만 Math.random으로 대체됩니다.
중복 허용과 비허용의 차이는 무엇인가요?
중복 허용은 매번 독립적으로 뽑아 같은 숫자가 여러 번 나올 수 있습니다. 중복 비허용은 이미 뽑힌 숫자를 제외하고 뽑아 결과에 같은 숫자가 두 번 나오지 않습니다. 뽑을 개수가 범위 안의 전체 숫자 개수보다 많으면 중복 비허용으로는 뽑을 수 없어 오류가 표시됩니다.
결과를 정렬할 수 있나요?
네. 뽑힌 순서 그대로, 오름차순, 내림차순 중 하나를 골라 결과를 표시할 수 있습니다. 정렬은 표시 방식만 바꾸며 뽑힌 숫자 자체는 바뀌지 않습니다.
로또번호 생성과 무엇이 다른가요?
로또번호 생성은 1~45 범위에서 6개를 중복 없이 뽑는 고정된 규칙의 도구입니다. 난수 생성기는 최소~최대 범위와 뽑을 개수, 중복 허용 여부를 자유롭게 지정할 수 있어 추첨·설문 샘플링·연습 문제 번호 뽑기 등 다양한 상황에 쓸 수 있습니다.
Are the numbers fairly random?
Yes. Numbers come from the browser's cryptographic random generator (crypto.getRandomValues), with rejection sampling to remove modulo bias so every value in the range is equally likely. Math.random is only used as a fallback where crypto isn't available.
What's the difference between allowing and disallowing duplicates?
With duplicates allowed, each draw is independent so the same number can appear more than once. With duplicates disallowed, already-drawn numbers are excluded, so no number repeats. If Count exceeds how many values exist in the range, drawing without duplicates isn't possible and an error is shown.
Can I sort the results?
Yes. Choose to display results in drawn order, ascending, or descending. Sorting only changes the display — the drawn numbers themselves don't change.
How is this different from the Lotto Number Generator?
The Lotto Number Generator is a fixed rule: pick 6 unique numbers from 1–45. This tool lets you freely set the range, how many to draw, and whether duplicates are allowed, so it fits raffles, survey sampling, practice-problem numbering, and more.

안내: 본 도구가 내는 결과는 무작위 참고용이며, 어떤 선택도 보장하지 않습니다. 내기·도박 목적의 이용은 권장하지 않으며, 그로 인한 결과에 대해 책임지지 않습니다.

Note: Results are random and for reference only, with no guarantee of any outcome. Use for betting or gambling is discouraged, and no liability is accepted for such use.