code archive · open to allShare code.
Share code.
Permanently.
Permanent short links. Syntax highlighting for 20+ languages. README support. Password protection. All free.
$ curl snippet.app/raw/Kx9mNpQ
→ 200 OK · python · 42 lines
────────────────────────────
def greet(name):
return "Hello, " + name
print(greet("world"))
6
Total Snippets
1
Active Authors
6+
Languages
∞
Free Forever
Latest Snippets
All →Responsive card grid
CSSAuto-fitting card grid that needs no media queries.
FizzBuzz
RustThe interview classic, implemented idiomatically in Rust.
Find large files
BashList the biggest files under a directory, human-readable sizes.
Top customers by revenue
SQLAggregate orders per customer and rank the top spenders.
Debounce helper
JavaScriptDelay a function call until input stops for a given interval.
Hello World in Python
PythonThe classic first program — print a friendly greeting.
Features
Permanent Short Links
Every snippet gets a unique URL that won't expire unless you set it to.
Syntax Highlighting
Live highlighting in the editor and beautiful display in the viewer for 20+ languages.
README Support
Add a Markdown README below your code to document usage and examples.
Password Protection
Lock snippets with a password — only people with the key can view the code.
Public Profiles
Every author gets a public profile page with their snippets, bio, and badges.
Raw & Download
View plain text via /raw/:id for curl, or download the file directly.