Skip to content

SnippetsLab

SnippetsLab gives you a searchable code snippet library on your Mac, suited to developers who want to keep reusable code and its supporting notes together.

by Renfei Song

What you get

Keep reusable code organized and ready when you need it.

With SnippetsLab, you can turn scattered code fragments into a personal reference library. You can group related snippets in folders, add tags, and keep several fragments together with notes, files, or images. That lets you save not just the code, but the context you need to use it again. You can also lock snippets against accidental edits.

When you need something you've saved, you can search the full text with fuzzy matching and filters. From the menu bar, you can browse, copy, or insert snippets without opening the main window. If you use Alfred or Raycast, you can reach your library there too.

You can write supporting explanations in Markdown and preview diagrams, formulas, and highlighted code. iCloud keeps your library available across your Macs, while import and export options let you bring in existing snippets or take your collection elsewhere.

  • Keep context with code

    You can save related fragments, explanations, files, and images together so you know how to reuse them later.

  • Find saved answers faster

    You can search snippet contents with fuzzy matching and filters rather than browse every folder.

  • Reuse without opening windows

    You can browse, copy, and insert saved code from the menu bar without opening the main app window.

  • Keep your library portable

    You can sync snippets across your Macs with iCloud and export your collection as JSON, XML, or plain text.

Best for

  • You regularly reuse code across projects
  • You want coding notes and examples in one searchable library
  • You work across multiple Macs

Skip it if

You probably don't need it if you rarely reuse code or already keep your snippets organized in your editor.

Screenshots

From the developer

• Mac App Store “Best of 2015” • Featured in App Store editorial “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”...
Read the full description

Alternatives to SnippetsLab

Other apps to code snippets & API docs. See all