Skip to content
@PasteFox

PasteFox

Share Code & Text Instantly
PasteFox Logo

PasteFox

Share Code & Text Instantly — Privacy-First, Developer-Friendly


Website API Docs Status Twitter



Pastes Users Views API Calls Languages Version



Next.js React TypeScript Tailwind Prisma Cloudflare Redis MySQL

A modern pastebin for developers who care about privacy, speed, and beautiful code sharing. No account required. No tracking. No ads. Just paste.


What is PasteFox?

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.


Features

Privacy & Security

  • Client-side encryption — encrypted before it leaves your browser
  • Password-protected pastes
  • Burn after read — one-time view, self-destructing
  • Max view limits — auto-expire after N views
  • No tracking, no analytics, no data selling
  • Cloudflare Turnstile captcha (no reCAPTCHA)

Code Experience

  • 130+ languages with syntax highlighting
  • Auto language detection
  • Line numbers, search, word wrap
  • Light & dark themes
  • Raw view, embed, and print support
  • CodeMirror 6 editor

Organization

  • Folders & Collections — organize like a file system
  • Pin folders to your profile
  • Bulk operations — move, delete, change visibility
  • Custom domainspaste.yourdomain.com
  • Folder sharing via token links
  • Public profiles with paste showcase

For Developers

  • Full REST API with OpenAPI spec
  • API key auth with rotation & rate limits
  • Clone any public paste
  • Embed snippets via iframe
  • 8 languages — EN, DE, FR, ES, PT, RU, AR, TR
  • Support system with tickets & FAQ

Reveal Effects

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

Architecture

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
Loading

API Guide

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.

Authentication

X-API-Key: pk_your_api_key_here

All API responses follow this format:

{ "success": true, "data": { ... } }

Create a Paste

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"
  }
}

Get a Paste

curl https://pastefox.com/api/pastes/abc123 \
  -H "X-API-Key: pk_your_api_key"

Get Raw Content

curl https://pastefox.com/api/pastes/abc123/raw

List Your Pastes

curl "https://pastefox.com/api/pastes?page=1&limit=20&sortBy=createdAt&sortOrder=desc" \
  -H "X-API-Key: pk_your_api_key"

Update a Paste

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"}'

Delete a Paste

curl -X DELETE https://pastefox.com/api/pastes/abc123 \
  -H "X-API-Key: pk_your_api_key"

Self-Destructing Paste

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"
  }'

Password-Protected Paste

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"
  }'

Clone a Paste

curl -X POST https://pastefox.com/api/pastes/abc123/clone \
  -H "X-API-Key: pk_your_api_key"
Folder API

List Folders

curl https://pastefox.com/api/folders \
  -H "X-API-Key: pk_your_api_key"

Create Folder

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"}'

Create Paste in Folder

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


Supported Languages

PasteFox is available in 8 languages:

English Deutsch Francais Espanol
Portugues Russkij al-Arabiyya Turkce

Roadmap

  • 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

Contact

Website Email Twitter Support



Built with 🧡 by the PasteFox team in Germany


PasteFox

2025-2026 PasteFox. All rights reserved.


Next.js 16 | React 19 | TypeScript | Tailwind CSS 4 | Prisma | Cloudflare

Popular repositories Loading

  1. .github .github Public

    What's "PasteFox"?

  2. extensions extensions Public

    Official extensions for PasteFox - share code and text snippets from your favorite tools.

    JavaScript

  3. pastefox-apps pastefox-apps Public

    C#

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…