Warning icon
Russia has attacked Ukraine. Here’s what MacPaw and Setapp are doing to make sure our team members and infrastructure are safe.



Create a library of code snippets

This app + 230 others in one suite.
Free for 7 days, then $9.99/month.
SnippetsLab in Setapp
SnippetsLab SnippetsLab

SnippetsLab via Setapp

Create a library of code snippets

SnippetsLab is a Mac app that collects, organizes, and shares your code snippets. It supports over 420 languages you can switch between and has an easy code management flow. Bring multiple code fragments into one snippet, add documentation comments about any background info, and export snippets to GitHub. SnippetsLab is your space for smart code experiments.
4.5 / 5
915 ratings
version 2.0.3 macOS 10.14 required

SnippetsLab features

Organize code snippets for ease

You are the creator of your code library, so you can tweak it as you like. SnippetsLab has perfect organization tools to help you out. Sort code snippets by any specification, create Smart Groups, and add tags for easier navigation. So that every snippet is within your reach.

Add code comments and fragments

If code is not enough, you can enrich your snippet with notes. Add links, descriptions — any background information you think is worth mentioning. You can also combine fragments of code into a single snippet or break snippets into separate parts. It’s all changeable.

Personal assistant in the menu bar

SnippetsLab creates a shortcut to your code, a quick access to every snippet right from the menu bar. Without opening the app’s main window, you can search through snippets — based on your custom search scope — preview code, and jump to the home screen whenever needed.

Syntax highlighting and markdown

The code snippet manager supports syntax highlighting for over 420 different languages. Quickly toggle the selected language on the bottom of the app’s window and have your code in the right shape. SnippetsLab also supports markdown preview — in case you need better visibility.

GitHub Gist integration

The beautiful part, you can have SnippetsLab and GitHub work in sync. With the Gist integration, the app allows to import code from your GitHub as well as export a complete library or separate snippets to be published as gists. So that you don’t have to choose where to keep your code.

Sync and backup your code

SnippetsLab works with popular file sync services like Dropbox and Google Drive, as well as maintains your code consistency across devices — with iCloud sync. What’s more, you should never worry about losing a fraction of your code — the app runs backups on a daily basis.

One membership,
endless benefits.
See how Setapp works.
Solve tasks on Mac or expand your flow to iPhone with Setapp for iOS — it’s easy to make Setapp truly yours. The entire suite is free for 7 days.
Video preview
4.5 / 5
915 ratings
version 2.0.3 macOS 10.14 required
via + 230 apps.