Random Number Generator

Five modes in one full-width panel: Single (min/max, 0–4 decimals, optional crypto.getRandomValues, Space to regenerate), Multiple (count slider 1–1000, duplicates, sort, stats, histogram when count ≥ 10, CSV/JSON copy), Dice (d4–d100, multi-dice and rolls, modifier, optional click sound), UUID (count, format, prefix), and Sequence (start/end/step, shuffle, take-N). No server calls.

randommathgeneratoruuiddicehistogram

Category: Data & Text Processing

Decimals

Press Space to regenerate (when not typing in a field)

What does the Random Number Generator cover?

Five tabs consolidate classroom dice demos, QA fuzz seeds, UUID fixtures, and spreadsheet sample columns. Single mode emphasizes a large monospace result with copy and regenerate controls plus an optional secure path backed by crypto.getRandomValues. Multiple mode scales up to a thousand draws with optional uniqueness for integer ranges, ascending or descending sorts, aggregate statistics, optional histogram bucketing when at least ten samples exist, and comma, JSON, or CSV export paths. Dice mode renders each face with simple min/max color cues, supports stacked dice, repeated roll groups, additive modifiers, and an optional Web Audio click. UUID mode wraps crypto.randomUUID when present with a manual fallback. Sequence mode builds inclusive ranges with step control, optional Fisher-Yates shuffle, and an optional random subset grab.

GEO and classroom use

Teachers demonstrating probability, students verifying statistics homework, and developers seeding staging databases all need trustworthy randomness without installing desktop suites. A browser-first tool keeps dice and UUID demos usable on locked-down school Chromebooks as well as on developer laptops in regions where installing native binaries is restricted.

Privacy

Numbers never leave your device unless you copy or download them yourself.

Frequently Asked Questions

When should I enable Cryptographically secure?

Use it for secret seeds, lottery-style classroom demos that should resist prediction, or any case where Math.random bias is unacceptable.

Why can unique integer sampling fail?

With duplicates disabled and zero decimal places, the tool requires the requested count to fit inside the inclusive integer range; widen the bounds or allow duplicates.

Is the Random Number Generator free?

Yes for typical personal and work use on Dynamic Duniya.

Tips

Quick guidance for using our tools safely and effectively.

Privacy

Files are processed on the server for conversion only and are not used for training or shared with third parties.

Best results

Use the formats suggested in each tool. Large media files may take longer — keep the tab open until processing finishes.

Need something else?

Browse related tools below or explore other categories from the main Dev Tools hub.

Related tools

More utilities in the same category.

CSV ↔ JSON Converter

New

Switch CSV → JSON or JSON → CSV. RFC 4180–style CSV parsing (quoted fields, doubled quotes), delimiter choice for import (comma, semicolon, tab, pipe), optional header row or col1… keys, pretty or minified JSON, stats after convert. JSON → CSV needs a non-empty array of objects; union of keys becomes columns; output CSV uses commas. Upload .csv/.json, load examples, copy, or download output.json / output.csv — all client-side.

csvjson+1

List Delimiter & Formatter

New

Paste a spreadsheet column or any list: explode on newlines, whitespace, commas, or semicolons; trim and filter empty cells; optionally dedupe. Join records with comma, semicolon, pipe, space, or newline; wrap each value in single or double quotes (escaped); optional per-record HTML/XML tags; optional groups of N with wrap tags; tidy mode strips newlines from the final string. Live preview, copy, select-all — all client-side.

delimitercomma+3

JSON ↔ YAML Converter

New

Convert JSON to YAML or YAML to JSON in the browser with js-yaml: JSON.parse + YAML dump (2-space indent, 120-char wrap) or yaml.load + pretty JSON (2-space indent). Debounced live conversion as you type, line numbers on both sides, Convert now, copy, and download output.yaml / output.json.

jsonyaml+1

JSON Visual Editor

New

Paste or upload JSON and edit it with an auto-generated form — add array items, update fields, download valid JSON. No coding required; runs entirely in your browser.

jsoneditor+5

XML ↔ JSON Converter

New

Convert XML to JSON or JSON to XML in the browser with fast-xml-parser: attributes map to configurable-prefixed keys (default @), trimmed text nodes, optional compact output, optional UTF-8 XML declaration on JSON→XML, and a root wrapper for bare arrays or scalars. Convert on demand, character/node estimate, copy, download output.json / output.xml.

xmljson+1

CSV to XML Converter

New

Paste or upload CSV up to 5 MB with auto or fixed delimiters (comma, semicolon, tab, pipe), optional header row and cell trim, then build XML with your root and row tag names, child elements or row attributes, XML declaration toggle, and 2- or 4-space indent. Preview with basic syntax coloring or raw textarea, DOMParser validity check, character and line counts, copy, and download as a basename-converted.xml file—all in the browser.

csvxml+4