Share Code & Text Instantly — Privacy-First, Developer-Friendly
A modern pastebin for developers who care about privacy, speed, and beautiful code sharing. No account required. No tracking. No ads. Just paste.
PasteFox is a modern code and text sharing platform. It's built for developers, teams, and anyone who needs to share snippets quickly and securely.
Unlike traditional pastebins, PasteFox offers client-side encryption, custom domains, folder organization, a full REST API, and fun reveal effects — all wrapped in a clean, fast UI powered by Next.js 16 and React 19.
Try it now: pastefox.com — paste something, get a link. That's it.
|
|
|
|
Pastes can have fun reveal animations — your recipient has to interact before seeing the content:
| Scratch Card | Typewriter | Blur | Puzzle | Slots |
|---|---|---|---|---|
| Fireworks | Matrix | Glitch | Shake | Confetti |
graph LR
subgraph Client
Browser["Browser"]
APIClient["API Client"]
end
subgraph Edge
CF["Cloudflare CDN"]
Worker["CF Worker\n(Custom Domains)"]
end
subgraph PasteFox
Next["Next.js 16\nApp Router"]
Auth["NextAuth v5"]
API["REST API"]
end
subgraph Storage
MySQL["MySQL"]
Redis["Redis"]
R2["Cloudflare R2"]
end
Browser --> CF --> Next
APIClient --> CF --> API
Browser --> Worker --> Next
Next --> Auth
Next --> MySQL
Next --> Redis
Next --> R2
style Client fill:#1e293b,stroke:#475569,color:#f8fafc
style Edge fill:#1e293b,stroke:#F38020,color:#f8fafc
style PasteFox fill:#1e293b,stroke:#3b82f6,color:#f8fafc
style Storage fill:#1e293b,stroke:#22c55e,color:#f8fafc
PasteFox has a full REST API. Authenticate with an API key via the X-API-Key header.
Get your key at pastefox.com/dashboard/api-keys.
X-API-Key: pk_your_api_key_here
All API responses follow this format:
{ "success": true, "data": { ... } }curl -X POST https://pastefox.com/api/pastes \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{
"title": "Hello World",
"content": "console.log(\"Hello from PasteFox!\");",
"language": "javascript",
"visibility": "PUBLIC"
}'Response:
{
"success": true,
"data": {
"id": "cm...",
"slug": "abc123",
"title": "Hello World",
"language": "javascript",
"visibility": "PUBLIC",
"viewCount": 0,
"createdAt": "2026-03-28T12:00:00.000Z"
}
}curl https://pastefox.com/api/pastes/abc123 \
-H "X-API-Key: pk_your_api_key"curl https://pastefox.com/api/pastes/abc123/rawcurl "https://pastefox.com/api/pastes?page=1&limit=20&sortBy=createdAt&sortOrder=desc" \
-H "X-API-Key: pk_your_api_key"curl -X PATCH https://pastefox.com/api/pastes/abc123 \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{"title": "Updated Title", "visibility": "PRIVATE"}'curl -X DELETE https://pastefox.com/api/pastes/abc123 \
-H "X-API-Key: pk_your_api_key"curl -X POST https://pastefox.com/api/pastes \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{
"content": "This message will self-destruct",
"isOneTimeView": true,
"expiresAt": "2026-12-31T23:59:59Z"
}'curl -X POST https://pastefox.com/api/pastes \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{
"content": "Secret stuff",
"password": "hunter2",
"visibility": "PRIVATE"
}'curl -X POST https://pastefox.com/api/pastes/abc123/clone \
-H "X-API-Key: pk_your_api_key"Folder API
curl https://pastefox.com/api/folders \
-H "X-API-Key: pk_your_api_key"curl -X POST https://pastefox.com/api/folders \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{"name": "My Scripts", "visibility": "PRIVATE"}'curl -X POST https://pastefox.com/api/pastes \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-d '{
"content": "#!/bin/bash\necho hello",
"language": "bash",
"folderId": "folder_id_here"
}'All Create Paste Options
| Field | Type | Default | Description |
|---|---|---|---|
content |
string | required | Paste content |
title |
string | "Untitled" |
Title (max 255 chars) |
language |
string | auto-detect | Programming language |
visibility |
PUBLIC / PRIVATE |
PUBLIC |
Who can see it |
password |
string | — | Password protection (4-100 chars) |
expiresAt |
ISO 8601 | — | Auto-delete after this time |
maxViews |
integer | — | Auto-delete after N views |
isOneTimeView |
boolean | false |
Delete after first view |
effect |
string | NONE |
Reveal effect (see above) |
folderId |
string | — | Put paste in a folder |
Full interactive API docs: pastefox.com/docs/api
PasteFox is available in 8 languages:
| English | Deutsch | Francais | Espanol |
|---|---|---|---|
| Portugues | Russkij | al-Arabiyya | Turkce |
- Client-side encryption
- Custom avatar uploads
- Profile view tracking
- Paste embedding
- Folder pinning on profiles
- 8-language i18n
- Custom domains
- Support ticket system
- GitHub / GitLab OAuth
- Collaborative editing
- VS Code extension
- CLI tool
- Paste versioning / history
- Webhook notifications