A free, open-source code snippet manager to create, organize, and instantly access your personal snippet library.
Built with Electron, Vue & Codemirror.
Inspired by applications like SnippetsLab and Quiver.
Latest Release | Documentation | Change Log
SPONSORS
massCode is an open-source project and completely free to use.
Maintaining and adding new features requires significant time and effort. If you find massCode useful, consider supporting its development. Your contribution helps keep the project alive and moving forward.
You can support massCode through the following channels:
Organize your snippets with multi-level folders and tags. Each snippet can contain multiple fragments (tabs), giving you fine-grained control over structure and grouping.
Built on CodeMirror with .tmLanguage grammars for syntax highlighting.
- Supports over 600 grammars, with 160+ available out of the box.
- Integrated Prettier for clean, consistent code formatting.
Write and instantly preview HTML and CSS snippets. Perfect for prototyping, testing ideas, or quick visual checks.
Full Markdown support with syntax highlighting, tables, lists, and more.
- Integrated Mermaid for dynamic diagrams and charts.
Turn a sequence of snippets into a presentation. Useful for classrooms, team meetings, conference talks, or simply walking through your own notes.
Generate mind maps from Markdown. Fast, intuitive, and ideal for structuring and visualizing ideas.
Visualize and explore your JSON data with an interactive graph view. Perfect for quickly inspecting complex responses, APIs, or configuration files.
Export snippets as polished images with customizable themes and backgrounds.
Handy built-in utilities for everyday dev tasks:
- Text Tools: Case Converter, Slug Generator, URL Parser
- Crypto & Security: Hash/HMAC, Password Generator, UUID
- Encoders/Decoders: URL, Base64, JSON ⇄ TOML/XML/YAML, Text ⇄ ASCII/Binary/Unicode, Color Converter
Fully customize the UI and editor syntax highlighting with JSON theme files stored in ~/.massCode/themes/. Supports light and dark types with live reload.
Extend your workflow with:
- VS Code Extension: zen mode snippet search, instant insertion, and save selected code as snippets.
- Raycast Extension: quick snippet access directly from Raycast.
massCode supports two storage engines — you can switch between them in Settings → Storage.
The default storage engine. All data is stored in a single SQLite database file.
Store snippets as plain .md files on disk. No database — just files with frontmatter metadata. The vault structure mirrors your folder hierarchy.
- Git-friendly — track changes, sync via GitHub or any Git remote.
- Cloud sync — works with iCloud, Dropbox, Syncthing, or any file sync service.
- Live sync — massCode watches the vault directory and picks up external changes in real time.
massCode was created as a personal learning project and evolved into an open-source tool. The goal: combine the best features of snippet managers (free and paid) into one flexible, developer-friendly application.
- Node.js (>=20.16.0)
- pnpm (>= 9.0.0)
pnpm installTo build for current platform:
pnpm buildTo build for a specific platform:
pnpm build:mac # macOS
pnpm build:win # Windows
pnpm build:linux # LinuxTo run in development mode:
pnpm devThis will start the application with hot reloading.
If you encounter the error message "massCode" is damaged and can't be opened. You should move it to the Trash while installing software on macOS, it may be due to security settings restrictions in macOS.
Option 1: System Settings (macOS 13+)
- Open System Settings → Privacy & Security
- Scroll down to find "massCode" in the list of blocked applications
- Click Allow Anyway or Open Anyway
- You may need to enter your administrator password
Option 2: Terminal command
sudo xattr -r -d com.apple.quarantine /Applications/massCode.app- News and updates on X.
- Discussions.
Copyright (c) 2019-present, Anton Reshetov.

