Random Small Capital Letter Generator
Sample explicit supported ASCII letters/digits, then import convert/text-to-small-caps for each mapping. Uniform source-entry sampling; no replacement refers to source entries. Superscript/subscript tools intentionally cover decimal digits only; small capitals cover the explicitly listed supported phonetic letters. Not a complete mathematical alphabet or typographic/font guarantee.
Description
Small-capital Unicode mappings cover only the converter’s supported source letters.
Small-capital Unicode mappings cover only the converter’s supported source letters.1
A reproducible sample provides character fixtures and differs from choosing an actual small-caps font feature.
When to use Random Small Capital Letter Generator
Use this tool when you need to sample the fixed repertoire for recognition or text fixtures. Prepare the seed and the exact inventory or scenario inputs described below. Keep units, reference edition, and sampling convention explicit.
How to use Random Small Capital Letter Generator and understand its results
- Prepare the seed and the exact inventory or scenario inputs described below. Keep units, reference edition, and sampling convention explicit.
- Enter seed, count, withoutReplacement, following the field table and calculation rules below, then run the tool.
- Read result. Inspect the nested fields in the output table below and keep any missing evidence or selected indices visible.
- Correct any input issues and run again. Before using a successful result, review its units, signs, evidence coverage, and stated model or reference assumptions.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| seed | Nonblank reproducibility seed; default seeded runs restart for each request | string | Required |
| count | Number of sampled entry positions | safe integer from 1 to 64 | Required |
| withoutReplacement | True draws distinct entry positions; false permits repeated positions | boolean | Required |
| Entry index | Source entry |
|---|---|
| 0 | a |
| 1 | b |
| 2 | c |
| 3 | d |
| 4 | e |
| 5 | f |
| 6 | g |
| 7 | h |
| 8 | i |
| 9 | j |
| 10 | k |
| 11 | l |
| 12 | m |
| 13 | n |
| 14 | p |
| 15 | q |
| 16 | r |
| 17 | s |
| 18 | t |
| 19 | u |
| 20 | v |
| 21 | w |
| 22 | y |
| 23 | z |
Sample from the fixed implementation inventory of 24 entries. Return values, zero-based selectedEntryIndices, and repertoireSize. Range inventories resolve an entry index through inclusive code-point ranges; explicit inventories retrieve the stored string in order. The pinned repertoire is not downloaded or updated during a run.2, 3, 4
Use a nonblank seed of at most 256 UTF-16 units and a safe-integer count from 1 to 64. By default the seed is hashed into a deterministic pseudorandom state; each run restarts that state, so identical full inputs and implementation reproduce the result. The SDK may provide context.random, which replaces the seeded source and advances across the request; the seed remains required. Every source value must be finite in [0,1), with a request limit of 100000 source calls. Draw an index as floor(U×remainingSize). With replacement draw from the full inventory each time; without replacement remove each chosen position from an ordered pool and reject counts exceeding the inventory size. Uniform-source draws are over positions, not necessarily distinct values. This is not secure randomness.
After selecting source entries, call convert/text-to-small-caps separately on each string and replace values with its convertedText. Return converterId; conversion failures propagate. Source indices still refer to the unconverted inventory.
selectedIndex=floor(U×availablePositions); remove chosen position when withoutReplacement=true Read these symbols with the field meanings and branch or reference rules above.
| Output field | Meaning | Value type |
|---|---|---|
| result | Object containing the fields below | object |
| result.values | Sampled strings, or converted strings when a converter is applied | list |
| result.selectedEntryIndices | Zero-based source inventory positions, in draw order | list |
| result.repertoireSize | Number of available entry positions in the sampled inventory | number |
| result.converterId | Canonical ID of the character-style converter | string |
{
"input": {
"seed": "tool.io/batch42",
"count": 1,
"withoutReplacement": false
},
"output": {
"result": {
"values": [
"ᴡ"
],
"selectedEntryIndices": [
21
],
"repertoireSize": 24,
"converterId": "convert/text-to-small-caps"
}
}
} Limitations and assumptions
The default source is deterministic pseudorandomness, not an independently audited or secure draw. Replacement applies to inventory positions; distinct positions may render identically or yield equal answers. Review the supplied inventory or scenario domain independently before interpreting the sample. A sampled character does not guarantee a visible or distinct glyph, correct shaping, a valid linguistic combination, or a particular font feature.
Missing required fields, unknown fields, wrong types, and violated calculation rules return input issues. Numeric values must be finite; nonfinite numeric outputs are rejected. Extremely large composite outputs are rejected.
Alternative or Complementary methods
For a related task, use Random Superscript Character Generator: Unicode superscript digits are separate character mappings rather than font-based raised typography. This generator samples decimal source digits and applies the existing superscript converter. For a complementary step, use Random Monospace Letter Generator: Mathematical monospace letters are Unicode mappings distinct from choosing a monospace font. This generator samples supported ASCII letters and applies the existing converter.
References
Similar or alternative tools
- Random Superscript Character Generator
Unicode superscript digits are separate character mappings rather than font-based raised typography. This generator samples decimal source digits and applies the existing superscript converter.
- Random Monospace Letter Generator
Mathematical monospace letters are Unicode mappings distinct from choosing a monospace font. This generator samples supported ASCII letters and applies the existing converter.