Pasting code straight into Slack, email, or a ticket wrecks the indentation, wraps long lines, and leaves the snippet sitting in someone else's history indefinitely. A paste link keeps formatting intact, stays private, and cleans itself up. Here is how.
No account is needed to paste or to read. For sensitive code — credentials in a config, an internal script — add a password so only the intended person can open it, and a download limit so it burns after they've grabbed it. Everything auto-deletes on a schedule, so nothing lingers.
Every paste has a /raw endpoint that returns plain text — pipe it straight into curl, a script, or your editor. Since the file type is unrestricted, you can also upload actual source files if you'd rather share the whole thing.
See the pastebin overview and anonymous pastebin guide for more.