Excerpt vs. Snippet: What's the Difference?

Excerpt and Snippet Definitions
Excerpt
A passage or segment taken from a longer work, such as a literary or musical composition, a document, or a film.
Snippet
A bit, scrap, or morsel
"sparkling black bass ... strewn with snippets of coriander and basil" (Gael Greene).
Excerpt
To select or use (a passage or segment from a longer work).
Snippet
(Informal) A small or mischievous person.
Excerpt
To select or use material from (a longer work).
ADVERTISEMENT
Snippet
A small part of something, such as a song or fabric; sample.
From the snippet I heard of their rehearsal, they sound pretty good.
Excerpt
A clip, snippet, passage or extract from a larger work such as a news article, a film, or a literary composition.
Snippet
(computing) A text file containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase.
Excerpt
(transitive) To select or copy sample material (excerpts) from a work.
Snippet
To produce a snippet (small part) of; to excerpt.
We snippeted the blog posts for display on the home page.
ADVERTISEMENT
Excerpt
To select; to extract; to cite; to quote.
Out of which we have excerpted the following particulars.
Snippet
To make small cuts, to snip, particularly with scissors.
Excerpt
An extract; a passage selected or copied from a book or record.
Snippet
A small part or piece.
To be cut into snippets and shreds.
Excerpt
A passage selected from a larger work;
He presented excerpts from William James' philosophical writings
ADVERTISEMENT
Snippet
A small piece of anything (especially a piece that has been snipped off)
Excerpt
Take out of a literary work in order to cite or copy