Kubernetes Resource Quantity Converter
Parse Kubernetes resource quantities exactly and show canonical, base-unit, and milli-unit forms without floating-point arithmetic.
This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.
| Canonical form | — |
|---|---|
| Base units | — |
| Milli-units | — |
| Suffix family | — |
| Rounded to nano precision | — |
How it works
Parses the published Kubernetes Quantity suffix families (decimal SI, binary SI, and decimal exponent) using integer arithmetic. Values finer than nano precision are rounded away from zero. DecimalSI and DecimalExponent magnitudes are preserved within the bounded input, while BinarySI values above 2^63-1 are capped as Kubernetes does. Canonical output preserves the input suffix family where Kubernetes does so; fractional BinarySI values that cannot be represented exactly as whole binary units fall back to DecimalSI. A syntactically valid Quantity is not proof that a particular Kubernetes API field accepts it or permits a negative value.