logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Format Numbers - Convert Numbers to Human-Readable Format | Online Free DevTools by Hexmos

Format numbers with numfmt and convert them into human-readable strings or SI units. Free online tool, no registration required.

numfmt

Convert numbers to and from human-readable strings. More information: https://www.gnu.org/software/coreutils/manual/html_node/numfmt-invocation.html.

  • Convert 1.5K (SI Units) to 1500:

numfmt --from si 1.5K

  • Convert 5th field (1-indexed) to IEC Units without converting header:

ls -l | numfmt --header=1 --field 5 --to iec

  • Convert to IEC units, pad with 5 characters, left aligned:

du {{[-s|--summarize]}} * | numfmt --to iec --format "%-5f"

See Also