27 Utilities for Saving and Sharing Code Snippets

by on 30th July 2010 with 56 Comments

You’ve got countless bits of HTML5, CSS3, JavaScript, and PHP rolling around in your head and on your hard drive that you are forced to try to recall each time you start a project. It’s time to get organized.

This post will briefly point you to 27 great utilities that not only help you store your favorite snippets both locally and in the cloud, but also make sharing with others a breeze. Enjoy!

Full-Scale Storing and Sharing

The sites below are a great way to build a personal code repository that you can access from anywhere and easily share with others. They’re also great sites to find helpful snippets in a number of languages.

I haven’t used them all in-depth but my preferred site is Snipplr. I really like the interface, the huge library of snippets, the versioning options, etc. They’re definitely all worth checking out though.

Snipplr

“With Snipplr you can keep all of your frequently used code snippets in one place that’s accessible from any computer. You can share your code with other visitors and use what they post, too. Did we mention that Snipplr works with TextMate? Yeah, we rock.”

screenshot

CodeSnippets

“Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)”

screenshot

Home | byteMyCode

“byteMyCode is a project designed to make the task of sharing source code easier. We have modeled a community around making it easy to find, share, revise, comment on, and rate code snippets.”

screenshot

SnippetsMania

“Organize and share your code snippets. Snippetsmania is a free accessible collection of code snippets. It currently supports 34 different programming languages. The database holds a total count of 99 code and programming snippets and examples.”

screenshot

codesnipp.it

“codesnipp.it is a social site for developers to post their snippets, follow and share code with other devs and get coding help. ”

screenshot

Paste and Share Quickly

The apps below are similar to those we just looked at but place much more emphasis on fast code sharing as opposed to organized code storage. Most just require a copy and paste and you’re ready to go!

Snipt.org

Share source code on Twitter and the Web.

screenshot

New – Pastie

“Clean user interface with sensible defaults. Need to nickname, describe, set tab settings and more? You’ll have to look elsewhere. One text box, paste, done. Simple.”

screenshot

Smipple – Social Code Snippets

“Smipple is a social service for saving, storing, organizing, and sharing snippets of code with your friends and coworkers. Make friends. Improve your coding skills. Earn bragging rights.”

screenshot

Gist – GitHub

“Gist is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository.”

screenshot

Copy Paste Code

“Copy Paste Code allows you to publish your code with colored syntax for most popular programming languages out there. After publishing you can share your code to colleagues and friends, and they can debug and use your code snippets.”

screenshot

CodeTidy

A quick and easy, no-frills code sharing utility.

screenshot

Ideone

“Ideone is something more than a pastebin; it’s an online compiler and debugging tool which allows
to compile and run code online in more than 40 programming languages.”

screenshot

Pastebin

One of the most popular tools of this kind, Pastebin supports a huge list of languages.

screenshot

Mystic Paste

screenshot

PasteSite.Com – Easy Usable Pastebin

“PasteSite.Com is a tool which allows you to submit a sample of code which can then be viewed with syntax highlighting from the website.”

screenshot

Slexy 2.0

“Slexy.org is a powerful, slick, and sexy pastebin designed with the user in mind. Use Slexy.org to paste errors for debugging, show off your code or your tech specs, or share anything else with other Internet users worldwide.”

screenshot

Mac Applications

In my search for online snippet sharing tools I came across a number of Mac applications that are great for building code libraries so I figured I’d toss them in as well. Check out jCodeCollector and Snippely first if you’re looking for a solid free option.

Snippet: $12.95

“Easily create Snippets from selected text anywhere.”

screenshot

Snippets: $39.95

“Snippets is a powerful application for Mac OS X that stores the most valuable pieces of code you can reuse in different projects many times.”

screenshot

Snippely: Free

“Snippely is a basic text and code organizational tool. Instead of storing bits of code, quick notes, and memos in text files all over your hard drive, this application will let you save and organize “snippets” in one convenient location. A snippet is a collection of one or more pieces of code and notes. Snippets are stored in groups for organization and quick retrieval.”

screenshot

jCodeCollector: Free

“jCodeCollector is an application that helps you to manage your code snippets. Using jCodeCollector you can: store, tag and comment your snippets, find quickly the code you need.”

screenshot

Code Collector Pro: €20

“When you spend all day writing code, it is only natural to start having feelings of déjà vu. Didn’t you write that same few lines of code a few days ago, and again a few days before that? Why are you wasting time re-writing that code again and again? Code Collector Pro is the answer, giving you the ability to store snippets of code and retrieve them with a few keystrokes”

screenshot

MySnippets: $14.95

“All of your snippets, the files you need, drafts, parts of a text, CSS templates and anything else you still need in order to deliver outstanding results: All of that is now just one single click, one single keystroke away. ”

screenshot

Droplr: Free

Unlike the apps above, Droplr is not the ideal place to store code snippets. However, among other things, it is a super easy way to share snippets of code. Just select some text and drag it to your menu bar. A URL will automatically be placed in your clipboard for you to paste in anywhere you want.

screenshot

Text Expanders

One special breed of snippet applications is those that allow you to type a few characters which then automatically expand into a larger chunk of text. I’ve recently started using TextEpander and it has completely revolutionized the way I work. Now I can’t imagine trying to code without it!

I’ve searched for hours in vain in an attempt to find a free text expanding utility, leave a comment if you know of one.

TextExpander: $34.95 (Mac)

“TextExpander saves you countless keystrokes with customized abbreviations for your frequently-used text strings and images.”

screenshot

Typinator: €19.99 (Mac)

“Typinator boosts your productivity and eliminates errors by automating the process of inserting frequently used text and graphics and auto-correcting typing errors.”

screenshot

FastFox: $34.99 (Windows & Mac)

“FastFox is an easy to use text expander that can create and store keyboard shortcuts that expand to an entire phrase, paragraph or document.”

screenshot

SnippetMonkey

“Snippet Monkey saves you countless hours monkeying around by allowing you to create shortcuts for phrases you frequently type. We call the phrases snippets and Snippet Monkey allows you to create new snippets from the clipboard or via our easy to use snippet editor.”

screenshot

What Are Your Favorites?

There are a lot of utilities here to choose from and I would love to hear your feedback on those that you’ve tried. For my own purposes I use TextExpander to quickly insert code, Snipplr to store random bits long-term, and Droplr to quickly share snippets. What combination will fits your workflow best?

Comments & Discussion

56 Comments

  • http://www.codebarrel.com Keir Davis

    I don’t see our product, Code Barrel, in your list. We have a free personal version and a Visual Studio plugin.

  • http://webdesignandsuch.com mike i

    Droplr and Snippet look extremely useful..sold!

  • http://www.amberweinberg.com Amber Weinberg

    Thanks for showcasing Codesnipp.it :)

  • http://howcode.com Jack

    http://howcode.com are handing out beta invites at the moment. A fresh take on Code sharing.

  • http://iznyn.com Iznyn

    Great share, thanks..

  • http://skillbase.ru ollejah

    Snippets is a powerful application for Mac OS X!

  • http://inwebdeveloper.com inwebdeveloper

    I recommend http://www.phpsnippets.info/ for PHP snippets

  • http://www.petshopboxstudio.com Kuswanto

    CodeSnippet and Snipplr are full of spams. :-/

  • http://dhaval-n.blogspot.com dhaval

    http://jsfiddle.net/ is also a good online editor for trying out various JavaScript libraries like jQuery, MooTools, YUI, Prototype under one roof and can share the code snippets too.

  • http://www.patrickheck.de Patrick Heck

    On Mac I love Coda from Panic http://www.panic.com/coda/ . It’s a great editor for HTML & CSS and has a snippet manager built in.

  • Pingback: links for 2010-07-31 @ Webmaster Chronic Blog()

  • Pingback: CSS Brigit | 27 Utilities for Saving and Sharing Code Snippets()

  • http://www.phraseexpress.com Marco

    Windows text expander program: http://www.phraseexpress.com

    Free for personal use and a feature monster.

  • http://www.colorizate.com Fabio Peñafiel L.

    extremely useful, thanks

  • http://brodingo.com/ Brodingo

    I’m fond of http://jsbin.com

    Quick collaboration.

  • Felicity

    Got no Zen (snippets plugin for common code editors)

    http://code.google.com/p/zen-coding/

    Any reason it’s missing?

  • http://twitter.com/nine_L Lenin

    You missed a quite nice Web tool http://codepad.org

  • PogoWolf

    What? No Codelib?!
    http://fishcodelib.com/

  • Daniel

    I highly recommend Snippets (with the s). I’ve tried most of these, and it’s definitely the best. Unfortunately it’s also the most expensive :(

  • http://rls-technical-services.com Robert Santuci

    You can also use something as simple as Google Docs or MSN’s SkyDrive – you can store what you want. As far as websites with examples, I use Google Bookmarks – works between browsers and no matter where I am.

  • http://www.paug.com Jack Stockton

    I have been using OneNote with SkyDrive. Works great for sharing across multiple computers and even works offline.

  • Pingback: links for 2010-08-04 | Eric Reboisson's Blog()

  • Pingback: | David Sparks()

  • Oliver

    CodeSnippets is not acceptable, in fact it is by far the worst site i have seen in a while. This site is completely riddled with spam and therefore cannot be trusted.

  • http://c.bisi.pl kashub

    My favourite is http://c.bisi.pl – it’s quick, simple and ‘knows’ many languages.

  • Pingback: Storing Code Snippets for Productivity | Your Workflow()

  • http://vispyanskiy.blogspot.com/ Igor

    Great share, thanks.

  • http://flikode.com flikode

    Don’t forget us:) flikode.com is a snippet bookmarking service. You can share code, create your own categories and we now have a help and discussion section.

  • http://foertel.com Felix Oertel

    Hey,

    thanks a bunch. snipplr with textmate bundle really really rocks !

    Have to find a way to set project based variables though to even more automate. ;-)

    regards, foertel

  • The Pommy

    Thanks for all these great sites.

    I’ve been using and am very happy with Snip-it Pro http://www.snipitpro.com/ worth a look and they have great personal support

  • Pingback: Life with Sniplr – code sharing | mistriotis.gr()

  • http://snipt.org Dan Wasyluk

    Hey thanks for mentioning Snipt.org mate! Since you list desktop apps as well I thought I should mention there is also a desktop (AIR) app for Snipt.org that lets you manage code stored on snipt.org from the desktop. There is also a public API for Snipt.org that enables 3rd parties to build plugins on top of the Snipt.org storage engine.

    There’s a JS embed/WP Plugin too, which I think i saw you using on some other post, looks great with your site’s theme!

    Nice post, keep up the good stuff and thanks for the shoutout!

  • http://xaviesteve.com Xavi

    That’s a very helpful list!

    For a minimalist personal snippet collector I recommend SnippShot ( http://snippshot.com ). It is really fast and easy to use and may be the way to go for people that need something cross-platform, simple and that syncs automatically. Oh, and it is completely free :)

  • Pingback: Storing Code Snippets for Productivity()

  • http://www.cheapfrontlineplusfordogs.net/ Frontline Plus

    Your content makes me easy to understand. Thank you very much.

  • http://html5snippet.net Dim

    Great collection !

    If you want to focus on runnable, web standart based
    snippets(js/html/css) take a look at html5snippet project:

    http://html5snippet.net/#snippet-47

    regards, dim

  • http://www.softbuz.com SoftBuz

    i like this site http://www.ipaste.org fast and clear .

  • http://icodesnip.com Tommy

    Update more :
    http://icodesnippet.com and http://icodesnip.com are also good.

  • http://www.ugghighkoo.com/ UGG Highkoo Sale

    Your article is useful for me. It is a good article.

  • http://www.alvipixels.com Web Design Huddersfield

    Usefull information, thanks for sharing

  • Pingback: Keystroke commands way faster mouse clicking()

  • ScottNYC

    I was looking into code snippet apps to use recently, and I came across a desktop application that also allows you to store and share with online services like gist and Pastebin. It also includes the text expanding functionality built right it, unlike the rest. Another feature I couldn’t find in any other app was a built-in, auto updating, API documentation browser. Its called “dash” and its a free download in the apple app store. Need to pay $10 to get rid of the “unregistered” prompt. But you can try it free as long as you want.

  • JL Griffin

    little interested in why JS fiddle in the list. its a great resource as it allows you to build and run working snippets. you should check it out!

  • Pingback: WordCamp Baltimore 2013: Preventive Development |Rami Abraham()

  • http://bortfagep.edublogs.org Visit

    Hi Dear, are you genuinely visiting this site daily, if so afterward you will definitely
    take good know-how.

  • https://www.youtube.com/watch?v=rUCE44P-HOs rob kim review

    Excellent weblog here! Additionally your web site lots
    up very fast! What host are you the usage of?
    Can I am getting your affiliate link on your host?
    I want my site loaded up as fast as yours lol

  • Jim

    I personally use snipzilla.org ☺ – an online application for snipping, saving, storing, managing, sharing, discovering and discussing all kinds of code. Have a go!

  • http://auditmanagement7.webs.com/ management audit tool

    I’m not sure exactly why but this blog is loading
    incredibly slow for me. Is anyone else having this issue
    or is it a problem on my end? I’ll check back later and see if the problem still exists.

  • http://www.iamsport.org/pg/pages/owned/chubbyoaf2003 Have A Peek At This Website

    I know this if off topic but I’m looking
    into starting my own weblog and was curious what all is needed to get set up?
    I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very internet smart so I’m not 100% certain. Any tips or advice would
    be greatly appreciated. Many thanks

    my web-site … Have A Peek At This Website

  • http://www.footballbetting-1.co.uk/handicap-football-betting/ betting calculator football

    Excellent way of explaining, and good post to get information regarding my presentation topic, which i
    am going to convey in university.

  • http://virusxtrip-sd.skyrock.com/3223694143-Reasons-for-air-purifier-that-you-ve-to-learn-before-making-a-purchase.html Heath

    You can always rely on the internet for research and more information on different types of air purifier.

    As a dog owner you know how unpredictable dog odor can be.
    Steam clean the carpets often at least three time per year.

  • http://thevapecompany.nl/goedkoopverhuizen/fantasticelevenhacktool480952 Fantastic Eleven Cheats

    Oh my goodness! Amazing article dude! Thanks, However I am going through problems with your RSS.

    I don’t know the reason why I cannot join it. Is there anybody having the same RSS problems?
    Anyone that knows the solution can you kindly respond?
    Thanks!!

  • http://www.botschaftangola.de/ActivityFeed/MyProfile/tabid/60/userId/129647/Default.aspx guitar lessons

    I blog often and I genuinely appreciate your content.
    The article has truly peaked my interest. I will
    book mark your website and keep checking for new information about once a week.
    I opted in for your Feed too.

  • http://www.youtube.com/watch?v=5HSC1PRwhIU&feature=youtu.be kserokopiarki kolorowe gliwice

    DZIĘKUJĘ ZA ŚWIETNĄ OBSŁUGĘ I PRZEMIŁĄ ATMOSFERĘ.
    !!!!! SZCZERZE POLECAM !!!!!

    my web site: kserokopiarki kolorowe gliwice

  • https://maps.google.pl/maps?q=dr+spil+polska+place+zabaw+katowice plac zabaw producent

    Każdy spośród nas zetknął się z faktem,
    rekomenduję zaznajomienie się z materiałem.

    Here is my webpage plac zabaw producent

  • http://architektwnetrz.blogi.pl/ Anonymous

    Wyϳątkowagłębia:-)

Subscribe

Membership
About the Author