System & Utilities

X-SwiftFormat

X-SwiftFormat extension for Xcode

By ruiaureliano. Free and open source for macOS. Latest version 2.1, released 2025-07-30.

Is X-SwiftFormat safe?

Trust score 38/100: Low trust. Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine.

Things to watch:

778 GitHub stars · 5.9k downloads.

Download X-SwiftFormat

brew install --cask x-swiftformat

Downloads come straight from github.com/ruiaureliano/x-swiftformat.

About X-SwiftFormat

Open System Preferences ▸ Privacy & Security ▸ Extensions ▸ Xcode Source Editor and make sure X-SwiftFormat is selected ✅

Open Xcode and use the Format Swift Code command in Xcode's Editor menu 🚀

Open System Preferences ▸ PKeyboard ▸ Keyboard Shortcuts ▸ App Shortcuts, then hit the + button. Select Xcode, enter Format Swift Code and set your Shortcut.👏

if you are using Xcode 15 (Swift 6.2), you can check out and build swift-format using the following commands:

Similar apps

Questions

Is X-SwiftFormat safe to download?

X-SwiftFormat has an OpenShelf trust score of 38/100 (Low trust). Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine. Main thing to watch: No code changes in over a year.

Is X-SwiftFormat free?

Yes. X-SwiftFormat is free and open source under a custom open-source license. The source code is public at github.com/ruiaureliano/x-swiftformat.

Does X-SwiftFormat work on macOS?

X-SwiftFormat is available for macOS.

How do I install X-SwiftFormat?

Use a package manager. Or install it with: brew install --cask x-swiftformat.

What are alternatives to X-SwiftFormat?

Similar open-source apps: Clipy (trust 76/100), Xcodes (trust 73/100), Pika (trust 69/100), Swimat (trust 32/100).