Character Count tool
The Character Count tool tallies the number of Unicode characters in every translatable block. For each scope it records two figures: the total character count and a count that excludes spaces. The results are stored on the block's properties so downstream tools and reports can read them.
Counts are taken over the block's segmented text. By default both the source and the active target locale are counted; the target is only counted when a target locale is set and the block has a translation for it. Character counting is useful for length budgeting (for example, UI strings with a fixed width) and for character-based pricing.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
countInline | boolean | false | Include inline code content in character counts |
countSource | boolean | true | Count characters in source text |
countTarget | boolean | true | Count characters in target text |
Configure these parameters interactively and copy the flow-step YAML on the Tool Reference.
Examples
Count source characters only
Measure source-side character volume, ignoring any existing translations.
countSource: true countTarget: false
Include inline codes
Reflect placeholder and tag text in the character totals.
countInline: true
Processing notes
Operates on translatable blocks; non-translatable structure passes through unchanged.
For each counted scope, both a total and a no-space character count are recorded on the block.
Limitations
Counting follows the active segmentation; results depend on how the text was segmented.
Target counts require a configured target locale and an existing translation for the block.
← Back to the Tool Reference