What kinds of content can I share with bin?

Updated

You can share almost any text-based content with bin (basedbin.fly.dev): plain text notes, source code in dozens of programming languages, configuration and environment files, and files uploaded from your device. The tool is a minimal pastebin, so the practical limit is that content must be text — it is built for pasting or uploading text and code, not for hosting binary files like images or archives.

Plain text and notes

The default option is plain text, which suits anything that doesn't need syntax highlighting:

  • Meeting notes, to-do lists, and drafts
  • Log excerpts and error messages
  • Command output you want to send to someone
  • Snippets you'd otherwise paste into a chat app

Source code

bin recognizes a long list of programming languages, so pasted code is highlighted rather than shown as flat text. The supported set includes widely used languages such as Python, JavaScript (and Babel), TypeScript, TypeScriptReact, Java, C, C++, C#, Go, Rust, Ruby, PHP, Swift, Kotlin, Scala, Dart, Elixir, Erlang, Haskell, Lua, Perl, R, Julia, and SQL.

It also covers less common and domain-specific languages, for example:

  • Solidity and Vyper for smart contracts
  • Lean, Coq-adjacent formats like OCaml, SML, and F#
  • Verilog, SystemVerilog, VHDL-adjacent flows via Verilog, and Assembly (x86_64)
  • GLSL, QML, and Zig
  • Nix, Nim, Crystal, and PureScript

Markup and documentation formats are included too: Markdown, reStructuredText, AsciiDoc (Asciidoctor), orgmode, LaTeX, TeX, Textile, and HTML in several flavors (plain HTML, Jinja2, Twig, EEx, Erlang, Rails, ASP, and Tcl).

Configuration and environment files

This is where bin's format list is unusually broad for a pastebin. You can share:

  • Environment and secrets-adjacent files: DotENV
  • Build and project config: Makefile, CMake, CMakeCache, Dockerfile, Ninja, Bazel-adjacent NAnt Build File, requirements.txt, Terraform and JSON (Terraform), TOML, INI, YAML, JSON, jsonnet, Protocol Buffer (TEXT)
  • Git-related files: Git Link, Git Mailmap, Git Commit, Git Attributes, Git Ignore, Git Rebase Todo, Git Config, Git Log
  • System and server config: nginx, Apache Conf, SSH Config, SSHD Config, hosts, resolv, fstab, passwd, group, CpuInfo, MemInfo, syslog, Authorized Keys, Known Hosts
  • Shell and scripting: Bourne Again Shell (bash), Friendly Interactive Shell (fish), PowerShell, Batch File, AWK, AppleScript, ActionScript, VimL, Tcl
  • Data and query formats: Comma Separated Values, GraphQL, Rego, Regular Expression and Regular Expressions (Elixir), Robot Framework, Strace, varlink, Salt State (SLS), Puppet, Nix

If your file is a config you'd normally open in an editor, there's a good chance one of these labels matches it.

Files uploaded from your device

Beyond pasting, bin accepts an Upload a file action. You choose a file from your local device and it is added to the paste. The format selector still applies, so you can pair an uploaded file with the right highlighting mode. Because the tool is text-oriented, upload text and code files rather than binaries.

How to decide if bin fits your case

Your content Fits bin? Why
Code snippet in a supported language Yes Dedicated syntax highlighting
Plain notes or logs Yes Plain Text mode
Config, env, or dotfiles Yes Broad config format list
A local text/code file Yes Upload a file
Images, video, archives No Text-based tool
Long-lived private secrets Check first No access-control details are given on the page

Practical notes

  • Pick the format label before or after pasting; it controls how the content is rendered.
  • The page lists formats alphabetically and mixes languages, configs, and data formats, so scan for your exact file type rather than assuming it's missing.
  • The site describes itself as "highly opinionated and minimalistic," so expect a single-purpose paste flow rather than accounts, folders, or collaboration features.
  • The page shows no pricing or login information, so don't assume pastes are private or permanent — verify retention and access behavior yourself before sharing anything sensitive.