Pastebin alternative

Paste code, pick a link, share it. Your code shows highlighted, with line numbers and a copy button.

paste.page/
  • Free
  • Line numbers
  • Your own link
  • Highlighted

What people see when they open your link

paste.page/csv-totals · Python · 9 lines
import csv

def totals(path):
    sums = {}
    with open(path) as f:
        for row in csv.DictReader(f):
            k = row["category"]
            sums[k] = sums.get(k, 0) + float(row["amount"])
    return sums

paste page vs Pastebin

Comparison of paste.page with Pastebin
Featurepaste.pagePastebin
Choose your own linkYesRandom ID
HTML can also run as a pageYes, from the homepageNo
Syntax highlightingYesYes

Questions

Is there a free alternative to Pastebin?
Yes. Paste your code here, choose a link name you can remember, and share it. It's free.
Which languages are highlighted?
The common ones, including Python, JavaScript, HTML, CSS, SQL, JSON and Bash. The language is detected for you.
Can I paste HTML and see it as a web page?
Yes. Here it shows as code. To run it as a page, use the paste box on the homepage.
How do I keep a paste?
Sign up free to keep your first link; Pro keeps up to 10.