Skip to content
faker.tools
All 79

Plate VIII · 7 tools

Localization, Edge Cases & Data Sanitizers

The inputs that break things: combining marks, boundary values, malformed payloads, and a sanitiser for the data you already have.

The inputs that find bugs

Happy-path data proves your code works when nothing unusual happens. Edge-case data finds out what happens when something does. This category is a QA engineer's toolkit for negative testing:

  • Boundaries — the boundary value generator produces the values either side of every limit — min−1, min, min+1, max−1, max, max+1 — plus the cases that live outside your spec: zero, negatives, the int32 and int64 maximums, integers beyond JavaScript's safe range, NaN, Infinity, -0, null, undefined and a missing key. Each row says whether it should be accepted, so it doubles as a test oracle. The guide Boundary value analysis with examples explains the technique.
  • Text that breaks rendering — the Unicode edge case generator covers combining marks, zero-width characters, right-to-left overrides, emoji ZWJ sequences, astral-plane characters and strings that change length when uppercased. Read Unicode edge cases every form should survive for why each one matters.
  • Parsers — the malformed data generator emits truncated JSON, unbalanced quotes in CSV, invalid UTF-8 and mismatched types, for testing import pipelines and error messages.
  • Security regression tests — the security test payload generator produces classic SQL injection, XSS, path traversal and template-injection strings for testing input handling in applications you own or are authorised to test.
  • Time — the timezone & timestamp generator produces Unix epochs, ISO 8601, RFC 2822 and SQL datetimes across eighteen IANA zones, with a range that clusters values around daylight-saving transitions.
  • Localisation — the multilingual locale data generator produces the same record across locales, so you can compare formatting side by side.

Cleaning the data you already have

The data anonymizer & PII stripper is the one tool here that takes your input rather than generating its own. It detects emails, phone numbers, card numbers and other identifiers in pasted text and replaces them — entirely in your browser, with nothing uploaded. Use it to clean a log excerpt or a bug report before you share it.