---
name: "crystal-tool-format"
section: "1"
platform: "linux"
package: "crystal"
version: "1.22.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/crystal-tool-format"
---

# crystal-tool-format(1)

Format Crystal source files

## NAME

crystal-tool-format - Format Crystal source files

## SYNOPSIS

**crystal tool format** \[options\] \[source...\]

## DESCRIPTION

Format project, directories and/or files with the coding style used in the standard library.

## OPTIONS

- **--check**

  Only check conformity but do not apply any changes.
