Run Swift in browsers

SwiftWasm compiles your Swift code to WebAssembly.


Source on GitHub

View our Swift pull request

Sign up for our mailing list:

Try Swift on WebAssembly now

Compile Swift in the cloud and run in your browser.

How you can help

Resolve remaining issues

SwiftWasm is ready for early adopters, but still needs extensive testing and polishing.

Want to help? See the list of outstanding issues for info on what still needs to be done.

Upstream patches

We're working on integrating our patches into the official Swift compiler.

Want to help? See the pull request to see which commits needs to be submitted.

Design web bindings

Wouldn't it be nice to invoke web APIs directly from Swift?

Want to help? Have a look at JavaScriptKit and give it a try. Report issues if you see any, submit PRs, and spread the word!

If you would like to help, join us.


Getting Swift to work on WebAssembly required the hard work of many people: