粘贴代码、笔记或日志,获得一条简洁的短链,随处分享。密码和有效期可选,无需注册账号。
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.
粘贴代码、配置或日志,借助识别语言的格式化清晰阅读。
为任意粘贴加上密码,只有你分享给的人才能打开。
添加有效期,粘贴便会自动消失。无需清理,也无需账号。
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.
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.
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.
Every figure below is what the service enforces today, not a marketing rounding.
| Maximum size | 500,000 characters, around 500 KB of text |
|---|---|
| Syntax languages | 18, from JavaScript and Python to YAML and Markdown |
| Password | Optional, 4 to 100 characters |
| Expiry | Optional date, after which the paste stops opening |
| Title | Optional, up to 200 characters |
| Account | Not required, a token comes back with every paste |
| Editing | Edit or delete at any time with that token |
| Search engines | Not indexed, paste URLs are disallowed in robots.txt |
| Price | Free, with no monthly cap on pastes |
Anything outside this list still pastes fine, it just stays plain text.
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.
Share the nginx block or the YAML, set it to expire tonight, and it is gone before anyone bookmarks the wrong version.
Some forums mangle code blocks. One link keeps the snippet formatted and lets you fix a typo later without editing the post.
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.
Turn a long address into a short link with an alias, password, expiry and click analytics.
Shorten a linkBuild a full page in a drag-and-drop builder and publish it on a za.gl link, without hosting.
Open the builderCreate pastes and links from your own code with a bearer token and one POST request.
Read the API docsNo account, no card, no limit on how many pastes you create. If it does not fit in a message, it fits here.