Description
Accept KiB, MiB, GiB, TiB, PiB or EiB.
A unit label is text describing a quantity's intended scale. Joining tokens, adding powers or choosing spacing changes presentation; it does not convert the quantity, validate dimensional compatibility or verify a unit registry entry.
Accept KiB, MiB, GiB, TiB, PiB or EiB.
When to use this tool
Use Binary Unit Symbol Spacing when you need a specific quantity-and-unit text convention.
How to use the tool and how it works
- Enter value, unit, noBreak. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read text. Use the output convention below.
Accept KiB, MiB, GiB, TiB, PiB or EiB. Join value and unit with an ordinary or no-break space.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| value | Value under the stated unit, type, and placeholder convention. | Required. Text; maximum UTF-16 length 8192. |
| unit | Unit | Required. Text; one of "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"; maximum UTF-16 length 8192. |
| noBreak | No Break | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| text | Literal formatted output under the stated grammar and display convention. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"value": "8",
"unit": "MiB",
"noBreak": true
},
"output": {
"text": "8 MiB"
}
} Limitations and assumptions
- No byte conversion or numeric validation of value text is performed. The selected unit is an explicit label, not inferred from an amount.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use a unit-aware calculation for actual conversion and dimensional checks. Select a destination-appropriate typography and retain the intended unit meaning when preparing labels.
References
Similar or alternative tools
- Measurement Unit Product Dot Policy
Join tokens with a middle dot or ordinary space.
- Formatting: Thin Space Unit Join Policy
Require nonempty value/unit strings without CR or LF and select thin, narrow-nobreak, space or none as the separator.