SnippetsLab

Your code at your fingertips

Only for Mac

Free

Mac

SnippetsLab keeps your code snippets and Markdown notes in one library, with iCloud Sync and syntax highlighting for more than 600 languages. • Mac App Store “Best of 2015” • Featured in App Store editorial “Christina Warren’s Productivity Picks,” “All Your Code, Brilliantly Organized,” “Keep Your Code at Your Fingertips,” and “Welcome to the Mac App Store!” • Featured app in “Apps for Developers,” “Essential Coding Apps,” “Essential Apps for Developers,” and “Wrangle Your Code.” ORGANIZATION • Build your personal coding library with multilevel folders, tags, and Smart Groups, and keep the ones you use most in Favorites. • Customize folder icons and tag colors for extra visual clarity. • Add notes to any snippet, and attach files or images for additional context. • Keep related code together with multiple fragments in one snippet. • Lock snippets to prevent accidental changes. CODE EDITING • Highlight code in more than 600 languages and text formats. • Detect the 50 most popular languages automatically with a machine learning model that runs on your Mac. • Format code in more than 20 languages, including Swift, C++, JavaScript, TypeScript, and JSON. • Customize editor behavior such as indentation, overscroll, completion, line wrapping, and much more. • Choose from 18 beautifully crafted themes, or customize and create your own. MARKDOWN SUPPORT • Choose full or side-by-side preview modes with accurate scroll sync. • Insert Mermaid diagrams, MathJax formulas, alerts, interactive tables of contents, and code blocks with full syntax highlighting support. • Pick from eight preview themes, or style the preview with your own CSS. QUICK ACCESS • Find anything instantly with full-text fuzzy search, search filters, and relevance ranking. • Use Quick Actions to switch languages and run commands across the app. • Create, browse, preview, copy, and insert snippets from the menu bar with SnippetsLab Assistant, with extensive keyboard shortcuts to keep you in the flow. • Search your library from anywhere with the official Alfred workflow and Raycast extension. • Use snippet links to open a snippet from any app. AI AND AUTOMATION • Let AI agents search your library, read snippets, and save new snippets through the built-in Model Context Protocol (MCP) server. • Set up popular agents right from SnippetsLab settings. • Search and save snippets from the shell with the lab command-line tool. SYNC AND INTEGRATIONS • Sync your library across all your Mac computers with built-in iCloud Sync. • Browse and restore earlier versions of your library with automatic backups. • Import from GitHub Gist, Quiver, CodeBox, plain text files, or JSON files in the supported format. • Export as a SnippetsLab library, JSON, XML, or plain text files. • Publish to GitHub Gist directly. • Create snippets from anywhere with macOS Services.

  • This app hasn’t received enough ratings or reviews to display an overview.

New Features - Added support for alerts in Markdown snippets. A block quote that starts with `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, or `[!CAUTION]` now appears in the preview with its own color and icon. Improvements - You can now set up the MCP server for Claude Desktop, Cursor, VS Code, and LM Studio via a single click. - Added the ability for AI agents to open snippets in SnippetsLab using an MCP tool. - Refreshed the look of the app, including SnippetsLab Assistant, bundled themes, Markdown preview, and more. - Improved the accuracy and smoothness of Markdown scroll sync. Resolved Issues - Fixed an issue on macOS 27 where an empty last line could not be selected by clicking. - Fixed an issue on macOS 27 where quickly clicking two adjacent snippets could open a snippet in a new window. - Fixed several crashes when opening a damaged library at launch, restoring a damaged backup, or importing a damaged library. SnippetsLab now shows an error, so you can restore a backup or open a different library. - Fixed several search issues with fuzzy search off, where queries with OR, NOT, phrases, accented letters, or command-line options such as `--force` could show wrong results or the wrong fragment. - Fixed issues where, with Hide Dock icon turned on, the Dock icon could reappear and SnippetsLab could open behind other apps. - Other bug fixes and performance improvements.

The developer, Renfei Song, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .

  • Data Not Linked to You

    The following data may be collected but it is not linked to your identity:

    • Identifiers
    • Usage Data
    • Diagnostics

Privacy practices may vary, for example, based on the features you use or your age. Learn More

The developer has not yet indicated which accessibility features this app supports. Learn More

Seller
Renfei Song
Size
37.7 MB
Category
Developer Tools
Compatibility
Requires macOS 14.6 or later.
  • Mac
    Requires macOS 14.6 or later.
Languages
English and Simplified Chinese
Age Rating
4+
Copyright
© 2015-2026 Renfei Song