How it works
Paste, set your rules, hand over a short code.
Write the paste
Drop up to 50,000 characters of text or code, or attach a file up to 256 MB by default.
Set the rules
Pick an expiry from 5 minutes to 14 days, add a password, and optionally burn after reading.
Share the code
You get a unique 4-digit code and a QR image. Send either one — the recipient unlocks it instantly.
Private by default
No accounts, no ads, no history — just the paste and its rules.
Burn after reading
Flip one switch and the paste is deleted permanently the first time it's opened.
Password protection
Passwords are stored with password_hash and a strength meter helps you pick a good one.
Hard expiry
Every paste has an expiry timestamp. A cleanup job purges it — and its attachment — for good.
File attachments
Documents, images, media, archives, and code. Files get random names and are served only via a controlled endpoint.
QR handoff
Every paste link has a matching QR image, so you can move a secret from desktop to phone without typing.
Persian-first UI
A fully custom RTL interface with Vazirmatn, Jalali-friendly dates, and a light/dark switch.
Hardened at every layer
Pastebox is built on PDO prepared statements, CSRF tokens, output escaping and per-IP rate limits — the boring security that actually holds up.
Read the full privacy policy4-digit code + expiry + hash
Codes are generated with a cryptographically secure random source, passwords are hashed with password_hash, and every query runs through prepared statements.
Questions
Common answers before you email.
Need help?
Found a bug, hit a broken code, or have a feature idea — email the developer directly.