Paste it. Keep the link.
Nineteen languages with real highlighting, and Markdown, BBCode and HTML rendered beside the source as you type. Links are permanent by default and need no account.
Real highlighting
The same grammars an editor uses, loaded only for the language you picked, so a shell script does not wait for Rust.
Rendered beside the source
Markdown, BBCode and HTML show their result next to what you typed. HTML renders in a sandboxed frame that cannot touch this page.
Links that keep working
Nothing expires unless you ask it to. Every paste has a raw address for scripts, and the store lives in its own database so it survives everything else.
Made in this browser
Nothing yet. Pastes you save here are listed so you can find them again, and delete them.
Nineteen languages, highlighted
Pick one, or paste a file and OAKBIN reads the first lines and the file name to guess. Three more formats get a rendered pane beside the source.
- Plain text
- JavaScript
- TypeScript
- Python
- JSON
- CSS
- HTML
- SQL
- XML
- YAML
- Shell
- PHP
- Rust
- Go
- Java
- C#
- C / C++
- Diff
- INI / TOML
Rendered as well as highlighted: Markdown, BBCode, HTML (rendered)
It also works from a terminal
No key, no account. The same endpoints the page uses, answering JSON, so a script can save a log or a diff without a browser in the way.
# save a file and get its link
curl -s -X POST https://oakbin.oakmonttechnologies.com/api/pastes \
-H 'content-type: application/json' \
-d "$(jq -Rs '{body: ., title: "main.py", syntax: "python"}' < main.py)" \
| jq -r '"https://oakbin.oakmonttechnologies.com/" + .key'
# read one back
curl -s https://oakbin.oakmonttechnologies.com/AAAAAAAA/rawMade by OAKMONT
OAKBIN is made by OAKMONT. We run and automate operations for other companies: accessibility measurement and remediation, managed servers, and the web work in between. Every deliverable ships with a signed record of the checks it passed. This pastebin is free, has no account wall, and is the smallest thing we build.
