Zagl标志

分享代码与文本,用 Pastebin

粘贴代码、笔记或日志,获得一条简洁的短链,随处分享。密码和有效期可选,无需注册账号。

Loading editor…
Words 0Chars 0Size 0 BNote
Options· all optional

What is Pastebin?

Pastebin lets you share code or text through a clean link instead of pasting walls of text into chat. Paste your snippet here, optionally set a title, expiration date, and password, and za.gl generates a short link you can drop anywhere.

  • Lives in the same za.gl account as your short links
  • Free with no signup required
  • Perfect for logs, config files, error messages, code reviews, and long notes

语法高亮

粘贴代码、配置或日志,借助识别语言的格式化清晰阅读。

需要时可设为私密

为任意粘贴加上密码,只有你分享给的人才能打开。

设置自动过期

添加有效期,粘贴便会自动消失。无需清理,也无需账号。

From clipboard to shareable link, in three steps

  1. 1

    Paste the text

    Up to 500,000 characters go in: a stack trace, a config file, a SQL dump, a page of notes. Nothing is stored until you press the button.

  2. 2

    Language, password, expiry

    Pick one of 18 languages so the syntax colours correctly. Add a password of 4 to 100 characters if it should stay private, and an expiry date if it should not outlive the conversation.

  3. 3

    Share the link

    You get a za.gl link straight back, plus a token that lets you edit or delete the paste later. No sign-up, no email, no confirmation step.

What a paste can hold

Every figure below is what the service enforces today, not a marketing rounding.

Maximum size500,000 characters, around 500 KB of text
Syntax languages18, from JavaScript and Python to YAML and Markdown
PasswordOptional, 4 to 100 characters
ExpiryOptional date, after which the paste stops opening
TitleOptional, up to 200 characters
AccountNot required, a token comes back with every paste
EditingEdit or delete at any time with that token
Search enginesNot indexed, paste URLs are disallowed in robots.txt
PriceFree, with no monthly cap on pastes

Languages that get highlighted

Anything outside this list still pastes fine, it just stays plain text.

  • JavaScript
  • TypeScript
  • Python
  • JSON
  • Bash / Shell
  • SQL
  • HTML / XML
  • CSS
  • Java
  • Go
  • Rust
  • PHP
  • Ruby
  • C
  • C++
  • C#
  • YAML
  • Markdown

What people actually use it for

Sending a stack trace

Chat apps eat indentation and cut long errors in half. A paste keeps the trace intact and hands the other person a link they can reopen tomorrow.

A config review before a deploy

Share the nginx block or the YAML, set it to expire tonight, and it is gone before anyone bookmarks the wrong version.

Answering on a forum

Some forums mangle code blocks. One link keeps the snippet formatted and lets you fix a typo later without editing the post.

Long notes instead of a long email

Meeting notes, a draft, a list of links. Send one short link instead of a wall of text nobody scrolls to the end of.

常见问题

不需要。你可以无需注册即刻创建粘贴。系统会给你一个身份验证令牌,可保存下来以便日后管理或找回粘贴。

是的,创建和分享粘贴完全免费。正常使用无需担心任何限制。

可以。创建粘贴时添加密码,访客需要先输入密码才能阅读内容。

默认情况下粘贴会一直保留。如果你设置了有效期,过期后粘贴会被自动删除。

Up to 500,000 characters, roughly 500 KB of plain text. That covers most log files and single source files. Above it, split the content into two pastes.

Eighteen: JavaScript, TypeScript, Python, JSON, Bash, SQL, HTML/XML, CSS, Java, Go, Rust, PHP, Ruby, C, C++, C#, YAML and Markdown. Anything else is stored and displayed as plain text.

Yes. Every paste counts views, with country and referrer, the same way short links do. You reach the numbers from the dashboard with the token you were given.

Yes, with the token handed back when you created it. Editing replaces the content behind the same link, deleting removes it and the link stops opening.

No. Paste URLs are disallowed in robots.txt, so a paste is reachable through its link, not through search. If you need a real lock rather than obscurity, add a password.

The rest of the toolbox

Paste something and see

No account, no card, no limit on how many pastes you create. If it does not fit in a message, it fits here.