Pieces is the world’s first micro-repo for developers. 100% free!Get Started
Instantly save snippets from your browser or IDE
Useful snippets are everywhere on the web and in your IDE. One or two clicks is all it takes to save them to Pieces.
Learn more about Plugins
Extract code from inside screenshots
You take screenshots of code. We all do. Save them to Pieces and instantly copy the code onto your clipboard. Death to manually retyping!
Share snippets via shareable links
Shared links include the snippet, tags and more meta-data.
Auto-save useful snippets
Auto-saves frequently used or useful snippets based on your behavior. Since you might not realize you need them later until it’s too late.
Now in Beta
Suggests code auto-completions as you type in your IDE, trained on your saved Pieces snippets. No size limit!
Auto-Generate and Import
Scan, detect and generate snippets based on the contents of a file or project on your machine or in Github
Runs locally on your machine with the option to connect to the Cloud for backup, sync and sharing
Runs unobtrusively in the background - you don’t have to have the app open to save snippets
Responsive UI resizes to ultra-narrow or wide screens
Fully keyboard shortcut-enabledGet Started
Auto-classifies your snippet by language
Auto-generates tags based on the content or structure of the snippet, where it was saved from and more. So you can quickly find that one snippet later
Auto-saves the source URL or file that the snippet was saved from, so you can back track to review the related context
Pieces supports over 31 languagesLearn More