snippet (plural snippets) 1  A small part of something, such as a song or program; sample. From the snippet I heard of their rehearsal, they sound pretty good. ( 2 computing) a textfile containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase.