Learn SNAP with Real Code Examples
Updated Nov 25, 2025
Installation Setup
Open https://snap.berkeley.edu in a browser
Create an account to save projects
Enable cloud access for online saving
Use recommended browsers (Chrome/Firefox)
Optional: enable Turbo Mode for performance
Environment Setup
Open in modern browser
Enable cloud saving
Use stable internet connection
Allow popups for export
Use large screen for scripting
Config Files
No config files required
Cloud account settings
Project metadata embedded
Optional HTML export settings
Theme and UI preferences
Cli Commands
No CLI - fully browser-based
Export project via UI
Import project via file upload
Share via cloud link
Save local copy of project
Internationalization
Multiple language support
Global teaching community
Localized curriculum options
Browser auto-translation compatible
Works on all platforms
Accessibility
Runs in browser
Suitable for K–12 learners
Visual programming eliminates syntax errors
Good for non-English speakers
Large audience access
Ui Styling
Color-coded blocks
Resizable scripting area
Sprite thumbnails
Drag-and-drop workspace
Clean educational UI
State Management
Variables stored per sprite or global
Lists maintain dynamic data
Custom blocks encapsulate logic
Sprites hold local state
Stage handles events and broadcast
Data Management
Lists as main data structure
Variables store numeric/text
Cloud save for persistent data
Custom block inputs handle parameters
Watchers monitor values live