Edge Case & Unicode Test String Generator
Generate the strings that break input handling — Unicode, RTL, emoji, injection patterns and boundary lengths.
Edge case test strings are the inputs that break naive validation: empty and whitespace-only values, combining diacritics, emoji ZWJ sequences, right-to-left overrides, boundary lengths at 255 and 256 characters, numeric limits, quoting and escaping traps, mixed line endings, and awkward real-world names. Feed them through your input path to find what your code assumes.
Runs in your browser- Categories
- Ten — empty values, Unicode, emoji, right-to-left, lengths, numerics, injection, escaping, line endings and awkward names
- Safety
- Injection entries are inert text for testing your own escaping — nothing here executes
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Are the injection strings dangerous?
Why do 255 and 256 characters both appear?
Why does copying from the plain-text output lose some characters?
How to use the edge case test string generator
- 1Select one or more categories.
- 2Choose the output.
- 3Turn "Include a description for each" on or off as needed.
- 4Set the long-string length.
- 5The result appears immediately — copy or download it.
Embed this tool
Put the working edge case test string generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Invisible Character DetectorFind zero-width spaces, directional overrides, Unicode tag characters and homoglyphs hidden in pasted text — then strip them.Prompt Injection SanitizerStrip invisible carriers, neutralise instruction-like markup and fence untrusted content before you paste it into a prompt.String Byte Size CalculatorMeasure text in UTF-8, UTF-16 and UTF-32 bytes, code points and grapheme clusters.Text CleanerStrip smart quotes, invisible characters, ligatures and stray whitespace pasted from Word or a PDF.Unicode ConverterConvert text between code points, UTF-8, UTF-16, HTML entities and escape sequences.UTF-8 Byte InspectorSee exactly how text is encoded — code points, UTF-8 bytes, names and byte counts per character.
Last updated
More samples & mock data