📚 Free Cheat Sheets
6 printable reference guides for developers and writers. Press Ctrl+P on any sheet to save as PDF — no login, no download button.
💡To download as PDF: Click 🖨️ Print on any sheet, or press Ctrl+P → set destination to Save as PDF → Margins: Minimal.
🔍Regex Cheat Sheet
DeveloperRegex
Anchors
^ — start of string
$ — end of string
\b — word boundary
\B — non-word boundary
Character Classes
. — any char except newline
\d — digit (0-9)
\w — word char (a-z A-Z 0-9 _)
\s — whitespace
[abc] — char class
[^abc] — negated class
[a-z] — range
Quantifiers
* — 0 or more
+ — 1 or more
? — 0 or 1
{n} — exactly n
{n,m} — n to m
*? +? — lazy versions
Groups
(abc) — capturing group
(?:abc) — non-capturing
a|b — alternation
(?=abc) — lookahead
(?!abc) — neg. lookahead
Common Patterns
Email: [\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,}
URL: https?://[^\s]+
Date: \d{4}-\d{2}-\d{2}
Phone: \(?\d{3}\)?[-.\s]\d{3}[-.\s]\d{4}
Hex: #[0-9a-fA-F]{3,6}
📝Markdown Cheat Sheet
WritingMarkdown
Headings
# H1 ## H2 ### H3 #### H4
Text Formatting
**bold** *italic* ~~strike~~
`inline code` > blockquote
--- horizontal rule
Lists
- item (unordered)
1. item (ordered)
- nested (2 spaces)
- [x] checked task - [ ] unchecked
Links & Images
[text](url) [text](url "title")
 <url> auto-link
Code & Tables
``` lang (fenced code block)
| H1 | H2 | |---|---| | v1 | v2 |
{}JSON Cheat Sheet
DeveloperJSON
Data Types
String: "hello world"
Number: 42 or 3.14
Boolean: true / false
Null: null
Array: [1, 2, 3]
Object: {"key": "value"}
Syntax Rules
Keys must be double-quoted strings
No trailing commas allowed
No comments allowed
No Infinity or NaN values
JS Methods
JSON.parse(str) → JS object
JSON.stringify(obj) → string
JSON.stringify(obj, null, 2) → pretty
structuredClone(obj) → deep clone
⌨️ilovetexts Keyboard Shortcuts
Productivity
Universal Shortcuts
Ctrl+Enter — copy result
Ctrl+Shift+C — clear text
Ctrl+S — download / export
Ctrl+H — find & replace
Ctrl+Z — undo Ctrl+Y — redo
Escape — close modal
PDF Editor
1 — Edit Text tab 2 — Annotate
3 — Draw tab 4 — Sign tab
Ctrl+S — open Export dialog
Ctrl+Shift+S — save text changes
Online Notepad
Ctrl+S — download as TXT
Ctrl+F — find & replace
+ tab button — add new tab
Double-click tab — rename it
🔐Base64 & URL Encoding Reference
DeveloperEncoding
Base64 Rules
Alphabet: A–Z + a–z + 0–9 + + /
Padding: = or == when len % 3 ≠ 0
Size: ceil(n/3) × 4 chars
Example: "Hello" → "SGVsbG8="
JavaScript
btoa("Hello") → "SGVsbG8="
atob("SGVsbG8=") → "Hello"
Buffer.from(s).toString("base64") Node
Buffer.from(b64,"base64").toString() Node
URL Encoding
Space → %20 & → %26 = → %3D
+ → %2B / → %2F ? → %3F
# → %23 @ → %40
Use Cases
Data URLs: data:image/png;base64,...
Basic Auth: base64(user:pass)
JWT: Header.Payload.Signature
Email MIME attachments
✏️Text Case Formats Reference
WritingDeveloper
All Case Formats
UPPERCASE — HELLO WORLD
lowercase — hello world
Title Case — Hello World
Sentence case — Hello world
camelCase — helloWorld
PascalCase — HelloWorld
snake_case — hello_world
SCREAMING_SNAKE — HELLO_WORLD
kebab-case — hello-world
When to Use
JS variables — camelCase
JS classes / React — PascalCase
CSS classes — kebab-case
Python vars — snake_case
Env variables — SCREAMING_SNAKE
URL slugs — kebab-case
SQL columns — snake_case
Want more cheat sheets?
We add new guides regularly. Suggest a topic.