WuseBox ← Back to tools

Test data · 100% local

Random Value Generator

Generate numbers, exact-length strings, technical identifiers, and QA edge cases. All operations run locally in your browser.

Generating random values, floating-point numbers, and strings for QA testing

Effective quality assurance, frontend form validation, API endpoint checks, and database mock creation require precisely parameterized input data. Typing “test123” into a form will not reveal buffer-length issues, incorrect decimal rounding, or broken encoding of national characters.

WuseBox Random Value Generator is a versatile tool for manual testers, automation engineers (Cypress, Playwright, Selenium), and developers. It instantly generates floating-point numbers (Float/Decimal) at a chosen precision, integers in a range, strings of an exact length, UUID v4 identifiers, and edge-case payloads - entirely in your browser.

Boundary Value Analysis and data types

Many defects in web applications and financial systems appear at the boundaries of permitted data ranges:

  • Floating-point numbers (Float / Double / Decimal): E-commerce, accounting, and banking systems need amounts with a defined number of decimal places (e.g. 2 for currency and 4-8 for exchange rates and cryptocurrencies), and tests for period or comma decimal separators.
  • Exact-length strings (Fixed-Length Strings): If a specification sets a maximum field length of 255 characters (VARCHAR(255)), a thorough test uses strings of exactly 254, 255, and 256 characters. Generate these instantly, including Polish diacritics, special symbols, and emoji.
  • Integers and type limits (Integer Overflow): Generate standard numeric ranges, numeric strings of a chosen length (including leading zeros for barcodes and serial numbers), and boundary values such as INT32_MAX (2,147,483,647) or JavaScript MAX_SAFE_INTEGER.
  • Technical identifiers (UUID v4, hash, IP, timestamp): Create UUID v4 keys, MD5/SHA-256-length hex values, IPv4/IPv6 addresses, and ISO 8601 or Unix timestamps for REST API and GraphQL payloads.

Form resilience testing (fuzzing, UTF-8 encoding, and security)

A well-designed system must safely handle unexpected input without server errors (HTTP 500) or broken layouts:

  • UTF-8 and special-character validation: Polish letters, punctuation, and emoji help verify that the database and API layer preserve character encoding.
  • Special values and edge cases: Quick access to “null”, “undefined”, “NaN”, invisible Zero-Width Space characters, and safe XSS and SQL injection test vectors helps verify backend sanitization and validation.
  • Bulk JSON, CSV, and SQL generation: Generate up to 1,000 random records at once and export them as a JSON array, spreadsheet-ready CSV, or SQL IN (...) clause.

Security and 100% client-side privacy

All random values are generated directly on your device using local JavaScript algorithms (including window.crypto for UUIDs and random hex values):

  • Zero server communication: No parameters or generated data batches are sent over the network.
  • Fast execution: Even tens of thousands of characters or batches of a thousand records are generated in your browser's memory.

Frequently asked questions

How do I generate a string with an exact number of characters, such as 255?

In the String section, enter 255 as the length, select the character sets you need, and click Generate. You can also use custom Lorem Ipsum to create readable text ending at exactly the requested character count.

What is the difference between an integer and a numeric string?

A real integer cannot preserve leading zeros (0042 is simply 42 as a number) and is subject to numeric type limits. A numeric string contains only digits, can be any length, and can begin with zeros.

Are generated UUID v4 identifiers unique?

The generator creates UUID version 4 values using the browser's crypto.getRandomValues() API. This provides high entropy and practical uniqueness, but no random generator can mathematically guarantee that a collision is impossible.

How is this different from the Test Data Generator for PESEL, NIP, and IBAN?

The Test Data Generator creates formal Polish identifiers with valid check digits. The Random Value Generator focuses on general programming data types such as floats, integers, exact-length strings, UUIDs, timestamps, and edge cases.

Use the tool ↑