Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

Swift file

Open and edit SWIFT files

You can open, view and edit SWIFT files for free right here in your browser, without Xcode and without uploading anything. Source code in Swift, Apple’s programming language introduced in 2014 and open-sourced in 2015. It has replaced Objective-C for most new Apple platform work.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View an SWIFT file without Xcode

Open and viewYes
EditYes
Create a new oneNot yet
Save as SWIFTYes, keeping what Anyfile doesn’t show
FormatBy Apple, since 2014

Edit SWIFT files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.swift

Swift file

Source code in Swift, Apple’s programming language introduced in 2014 and open-sourced in 2015. It has replaced Objective-C for most new Apple platform work.

Apps for iPhone, iPad, Mac, Apple Watch and Apple TV.

Opens in Xcode, VS Code, any text editor

Questions

How do I open an SWIFT file without Xcode?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit an SWIFT file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my SWIFT file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.