Write in markdown. Share a link.
Write, preview and publish at your own URL. Keep the edit code to change it later.
OPTION = value per line. Validation is strict: every error must be fixed before saving. All optionsPage not found
There’s no page at this address. The link may be mistyped, or the page was deleted. Create a new one.
Admin
Every paste on pastelock. Only you can see this page.
Detector settings
Choose what to scan for. Custom rules: one per line, a word or phrase, or a regular expression like /promo-\d+/i.
| Page | Flags | Owner | Creator IP | Views | Size | Edited |
|---|
Account
Sign in with your email. No passwords: we send you a link.
My pastes
Pastes you published or edited from this browser, with their codes.
How it works
Regular markdown, plus extras. On the left what you type, on the right what gets published.
| What you type | What gets published |
|---|
Metadata
Customize a page from the Metadata tab: one OPTION = value per line. Two colors mean light mode, then dark mode.
PAGE_TITLE = Field notes ACCESS_RECOMMENDED_THEME = dark SAFETY_PAGE_WARNING = sensitive CONTAINER_MAX_WIDTH = 720px CONTAINER_INNER_BACKGROUND_COLOR = #fffaf0 #1b1a17 CONTAINER_BORDER_WIDTH = 2px CONTAINER_BORDER_STYLE = dashed CONTAINER_BORDER_COLOR = #e5432d CONTENT_FONT = Lora Space_Grotesk CONTENT_LINK_COLOR = teal
| Option | What it does · values |
|---|
Code languages
Write the name after the opening fence, for example ``` python, to color a code block.
Privacy and rules
How pastelock handles your data, and what you can’t post.
What we store
- The pages you publish, with their dates and view counts.
- Your email, if you create an account, to send you sign-in links.
- The IP address used to publish or edit a page, kept for up to 90 days to fight abuse. We may check it with proxycheck.io to detect proxies and VPNs.
- Edit codes and modify codes are stored as secure hashes, never as plain text.
Encrypted pages
Encrypted pages are encrypted in your browser with your password. The site admin can also open them, for moderation and to help if you lose the password.
Who can see your data
Pages are public to anyone with the link. Emails, IP addresses and the admin panel are only visible to the site admin. We don’t sell your data.
What you can’t post
- Illegal content, or content that sexually exploits minors.
- Malware, phishing, stolen accounts, keys or personal data of other people.
- Threats, harassment or doxxing.
We remove pages that break these rules, and may report illegal content to the authorities.
Contact and your rights
To report a page, ask what data we have about you, or ask us to delete it, write to hogwartsgz@gmail.com.
This is a starting template. Review it, and adapt it to the laws that apply to you before going public.
What is pastelock?
A markdown paste service with preview, custom URLs, metadata and editing.
Custom URLs
Pick your own address, pastelock/#your-url, or leave it empty for a random one. URLs are 2–100 characters: letters, numbers and hyphens.
Edit codes
An edit code lets you edit, rename or delete a page later. Anyone who knows it can do those things, so you can share it with a group. Without it you lose control of the page. It must be 1–100 characters and must not contain the page’s URL. Leave it empty and one is generated for you.
Modify codes
While editing, you can set a modify code. It only lets someone change the text and metadata, never the URL, codes, or delete the page. Share it to give edit access safely.
Limits
Up to 200,000 characters per page. Pages stay until you delete them. Press Ctrl + Enter to save.
Views
Each page counts its views (one per visitor session). Hide the counter with OPTION_DISABLE_VIEWS = true.
Encrypted pages
You can encrypt a page with a password (AES-256). It’s encrypted in your browser, and visitors need the password to read it. The site admin can also open encrypted pages, for moderation and to help you if you lose the password.
Raw text
The Raw button on every page shows and copies the original markdown.
Accounts
Sign in with your email to link your pages to your account. Then you can edit, rename and delete them from any device without a code.
Privacy
Read how we handle your data on the privacy page. To report a page, use the Report button on it, or write to hogwartsgz@gmail.com.