Share code

Share code with one link

Paste a snippet, a log or a whole file and get a short link with syntax highlighting, line numbers, one-tap copy and a raw view.

1

Paste your code

A snippet, a stack trace or a whole file.

2

Pick the language

Highlighting and line numbers come built in.

3

Share — or automate it

Send the link, or create pastes from scripts with the API.

What you get

All features →

Syntax highlighting

15+ languages highlighted automatically, with line numbers, a one-tap copy button, and a raw view.

Raw & download

Grab the plain-text raw view or download a paste as a file with the correct extension for its language.

Instant short links

Paste your text, code, or links and get a clean, shareable short link in one click. No account, no waiting.

Password protection

Lock any paste behind a password. The contents are never sent to the browser until the right password is entered.

Markdown documentsNew

Write in Markdown and your paste reads like a formatted page — headings, tables, checklists and code blocks — with a one-tap switch back to the source.

Developer APINew

Create, list, update and delete your pastes over a simple JSON API. Pipe command output straight into a link from any script.

Read the API docs →

Questions

Which languages are highlighted?

JavaScript, TypeScript, Python, JSON, HTML, CSS, Bash / Shell, SQL, Go, Rust, Java, C / C++, PHP, YAML, Markdown — plus plain text.

Can I paste terminal output from a script?

Yes. A free account gives you an API key: pipe any command's output into a new paste and get the link back.

Can people download the code?

Yes. Every paste has a raw view and a download button that saves the file with the right extension.

Is there a size limit?

512 KB of text per paste.

Try it now

It takes a few seconds — no account needed.

Create a paste