Logo Zagl

Partilha código e texto com o Pastebin

Cola código, notas ou logs e recebe um link curto e limpo para partilhar onde quiseres. Palavra-passe e validade opcionais, sem precisar de conta.

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

Realce de sintaxe

Cola código, configs ou logs e lê-os com clareza graças à formatação que reconhece a linguagem.

Privado quando precisas

Bloqueia qualquer paste com uma palavra-passe para que só quem tu escolhes o possa abrir.

Define a validade

Adiciona uma data de validade e o paste desaparece sozinho. Sem limpezas, sem conta necessária.

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.

Perguntas frequentes

Não. Podes criar um paste de imediato sem te registares. Recebes um token de autenticação que podes guardar para gerir ou recuperar os teus pastes mais tarde.

Sim, criar e partilhar pastes é totalmente grátis. Não há limites com que te preocupares para uso normal.

Sim. Adiciona uma palavra-passe ao criar o paste e os visitantes terão de a introduzir antes de poderem ler o conteúdo.

Por predefinição, os pastes ficam online indefinidamente. Se definires uma data de validade, o paste é removido automaticamente quando ela passar.

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.