Freedom251 › Coding Playgrounds
Scastie
by Scastie
What Scastie is
Scastie is a free, web-based interactive playground for writing and evaluating Scala code. It is described as sbt in a browser and supports any Scala version, including Scala 3, Scala.js, Scala Native, and Typelevel Scala backends. An integrated Scaladex interface helps users find published Scala libraries for their programs. During evaluation, code is sent to Scastie servers, runs in an isolated Java Virtual Machine, and streams output back. Worksheet mode evaluates top-level expressions and shows each value and type beside the code. Programs can be shared, and snippets can be embedded in websites or library guides with themes, custom CSS, worksheet mode, target type, Scala version, and sbt settings. Scastie is web-only, has public-only sharing, and provides no deployment options. The project is supported by the Scala Center. Its policy describes encrypted storage, SSL connections, and logs retained for one year.
Who it suits
Scastie suits people learning or experimenting with Scala in a browser, including users who want library lookup, worksheet output, or embeddable examples.
What it does well
- Supports multiple Scala versions and backends
- Integrated Scaladex library search
- Worksheet mode shows values and types
- Embeds allow themes and custom CSS
- Free plan has no stated usage limits
What to know first
- Sharing controls are public-only
- No deployment options are provided
- Scala Native embeds are not yet supported
- Scala.js version setting is unsupported
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Free | No paid tiers or usage limits stated on the opened pages | Free |
As scastie.scala-lang.org lists them, read 11 Oct 2026. The maker's own page has the final word.
Verdict
Scastie offers a broad Scala experimentation environment without installation, plus sharing and embedding tools. Its public-only sharing and noted embed limitations matter when publishing or integrating examples.
Facts from Scastie's own pages
- Audience
- Scala's official Getting Started page recommends Scastie in a browser for people who want to start experimenting with Scala right away. · scala-lang.org, 11 Oct 2026
- Deployment options
- none · scastie.scala-lang.org, 22 Sept 2026
- Embed customization
- Embedded snippets support light or dark themes, customizable CSS, and options such as worksheet mode, target type, Scala version, and sbt configuration. · github.com, 11 Oct 2026
- Execution
- When code is evaluated, the browser sends its input to Scastie servers, where code runs in an isolated Java Virtual Machine and output is streamed back. · github.com, 11 Oct 2026
- Founded
- 2017 · scastie.scala-lang.org, 19 Oct 2026
- Free plan
- Yes · scastie.scala-lang.org, 22 Sept 2026
- Headquarters
- Lausanne, Switzerland · scastie.scala-lang.org, 19 Oct 2026
- Integrations
- The privacy policy says Scastie uses GitHub login for authentication and avatars, Plausible for analytics, and Sentry for error monitoring. · github.com, 11 Oct 2026
- Libraries
- Users can search the Scala ecosystem through an integrated Scaladex interface and include published Scala libraries. · github.com, 11 Oct 2026
- Notable limits
- The README says setting Scala Native as an embed target type and setting the Scala.js version are not yet supported. · github.com, 11 Oct 2026
- Privacy and logs
- The project's privacy policy says access logs include snippet ID, user IP address, and GitHub login, and are stored for one year. · github.com, 11 Oct 2026
- Purpose
- Scastie is an interactive Scala playground described as sbt in your browser. · github.com, 11 Oct 2026
- Scala versions and backends
- It supports any Scala version and alternate backends including Scala 3, Scala.js, Scala Native, and Typelevel Scala. · github.com, 11 Oct 2026
- Security and data
- The privacy policy says stored data is encrypted, connections use SSL, and stored data is kept for up to one year after last access on servers at EPFL. · github.com, 11 Oct 2026
- Sharing controls
- public_only · scastie.scala-lang.org, 22 Sept 2026
- Sharing and embedding
- Users can share Scala programs and embed saved or generated snippets in websites and library guides. · github.com, 11 Oct 2026
- Support
- The Scastie project README says it is supported by the Scala Center. · github.com, 11 Oct 2026
- Worksheet mode
- Worksheet mode supports top-level expressions and displays each evaluated expression's value and type alongside the code. · github.com, 11 Oct 2026
Where Scastie stands on Freedom251
- Coding Playgrounds#108 of 138