Skip to main content

Tutorials & How-To Guides

Learn how to use our developer tools effectively with step-by-step tutorials

JSON Formatting & Validation Tutorials

πŸ“‹ How to Format Minified JSON

Problem: Your API returns compressed JSON that's impossible to read.

Solution:

  1. Copy the minified JSON from your API response or file
  2. Open the JSON Formatter tool
  3. Paste the JSON into the input textarea
  4. Click "Format JSON" button
  5. The tool instantly beautifies your JSON with proper indentation
  6. Copy the formatted output or download as a .json file

Example Input:

{"name":"John","age":30,"city":"New York","hobbies":["reading","gaming"]}

Example Output:

{
  "name": "John",
  "age": 30,
  "city": "New York",
  "hobbies": [
    "reading",
    "gaming"
  ]
}

Pro Tips:

  • Use the validation feature to catch syntax errors before deploying
  • Minify JSON for production to reduce file size
  • Save formatted JSON to understand complex API structures

πŸ” How to Find JSON Syntax Errors

Problem: Your application throws "Invalid JSON" errors but you can't find the mistake.

Solution:

  1. Copy your problematic JSON
  2. Paste into the JSON Formatter
  3. If invalid, the tool highlights the exact error location
  4. Common errors to check:
    • Missing or extra commas
    • Unquoted keys (keys must use double quotes)
    • Single quotes instead of double quotes
    • Trailing commas after last array/object item
  5. Fix the error and validate again

Common Error Examples:

❌ {'name': 'John'}  // Single quotes not allowed
βœ… {"name": "John"}  // Use double quotes

❌ {"name": "John",}  // Trailing comma
βœ… {"name": "John"}   // Remove trailing comma

❌ {name: "John"}    // Unquoted key
βœ… {"name": "John"}  // Quote all keys

Base64 Encoding Tutorials

πŸ–ΌοΈ How to Embed Images in HTML with Base64

Use Case: Reduce HTTP requests by embedding small images directly in HTML.

Step-by-Step:

  1. Prepare your image (keep it small, under 10KB for best results)
  2. Open the Base64 Encoder tool
  3. Click "Choose File" and select your image
  4. Click "Encode" button
  5. The tool generates a data URL
  6. Copy the data URL
  7. Use in HTML:
    <img src="data:image/png;base64,iVBORw0KGgo..." alt="Logo" />

Benefits:

  • Faster page loads for small images (no separate HTTP request)
  • Works offline and in email HTML
  • Simplifies deployment (no image file management)

Limitations:

  • Increases HTML file size by ~33%
  • Not cached separately like image files
  • Only practical for small images (icons, logos)

πŸ” How to Encode API Credentials

Use Case: HTTP Basic Authentication requires Base64-encoded credentials.

Step-by-Step:

  1. Format your credentials as: username:password
  2. Open the Base64 Encoder
  3. Paste your credentials
  4. Click "Encode"
  5. Copy the encoded result
  6. Use in HTTP header:
    Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

⚠️ Security Warning:

  • Base64 is NOT encryptionβ€”anyone can decode it
  • ALWAYS use HTTPS when sending credentials
  • Never hardcode credentials in client-side code
  • Use environment variables for sensitive data

Password Generation Tutorials

πŸ”‘ How to Generate Strong Passwords

Goal: Create cryptographically secure passwords for maximum security.

Step-by-Step:

  1. Open the Password Generator
  2. Set length to minimum 16 characters (20+ recommended)
  3. Enable all character types:
    • βœ… Uppercase letters (A-Z)
    • βœ… Lowercase letters (a-z)
    • βœ… Numbers (0-9)
    • βœ… Symbols (!@#$%^&*)
  4. Optionally exclude ambiguous characters (0/O, 1/l/I) if writing by hand
  5. Click "Generate Password"
  6. Copy to password manager (never save in plain text)

Best Practices:

  • Length > Complexity: 16-character lowercase is stronger than 8-character complex
  • Unique passwords: Never reuse passwords across accounts
  • Use password managers: Store passwords securely (Bitwarden, 1Password)
  • Enable 2FA: Add second authentication factor for critical accounts

🎯 How to Generate Passwords for Specific Requirements

Problem: Website requires password with specific constraints.

Solutions:

Scenario 1: "At least 12 characters, 1 uppercase, 1 number, 1 symbol"

  1. Set length to 12+
  2. Enable uppercase, lowercase, numbers, symbols
  3. Generate until you get a password meeting all criteria

Scenario 2: "No special characters allowed"

  1. Set length to 16+ (compensate for lower complexity)
  2. Enable only uppercase, lowercase, numbers
  3. Disable symbols
  4. Generate password

Scenario 3: "Exactly 8 characters (legacy system)"

  1. Set length to exactly 8
  2. Enable all character types for maximum entropy
  3. Consider adding 2FA since 8 chars is weak by modern standards

URL Encoding Tutorials

πŸ”— How to Encode URL Query Parameters

Problem: URL breaks when you include spaces or special characters in query strings.

Step-by-Step:

  1. Identify the parameter value that needs encoding
    Example: Hello World!
  2. Open the URL Encoder tool
  3. Paste the value
  4. Click "Encode"
  5. Result: Hello%20World%21
  6. Build your complete URL:
    https://example.com/search?q=Hello%20World%21

Characters That Need Encoding:

  • Space β†’ %20
  • ! β†’ %21
  • @ β†’ %40
  • # β†’ %23
  • & β†’ %26
  • = β†’ %3D

Real-World Example:

// Search query: "JavaScript tutorials"
❌ https://api.example.com/search?q=JavaScript tutorials
βœ… https://api.example.com/search?q=JavaScript%20tutorials

// Email parameter: "user@example.com"
❌ https://site.com/contact?email=user@example.com
βœ… https://site.com/contact?email=user%40example.com

QR Code Generation Tutorials

πŸ“± How to Create WiFi QR Codes

Use Case: Let guests connect to WiFi by scanning a QR code instead of typing passwords.

Step-by-Step:

  1. Open the QR Code Generator
  2. Format your WiFi info as:
    WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;
  3. Replace:
    • YourNetworkName with your SSID
    • YourPassword with your WiFi password
    • WPA with your security type (WPA, WEP, or leave blank for none)
  4. Generate QR code
  5. Download and print
  6. Guests scan with phone camera to connect automatically

Example:

WIFI:T:WPA;S:GuestNetwork;P:Welcome123;;

πŸ’³ How to Create Business Card QR Codes

Use Case: Share contact info instantly via QR code on business cards.

Step-by-Step:

  1. Open the QR Code Generator
  2. Create vCard format:
    BEGIN:VCARD
    VERSION:3.0
    FN:John Doe
    ORG:Example Company
    TEL:+1234567890
    EMAIL:john@example.com
    URL:https://example.com
    END:VCARD
  3. Generate QR code
  4. Download as high-resolution PNG
  5. Add to business card design
  6. Recipients scan to add contact automatically

Text & Productivity Tutorials

πŸ“Š How to Count Words for SEO

Goal: Ensure blog posts meet target word count for SEO.

Step-by-Step:

  1. Write your blog post in any editor
  2. Copy the entire text (Ctrl+A, Ctrl+C)
  3. Open the Word Counter tool
  4. Paste your content
  5. Instantly see:
    • Total word count
    • Character count (with and without spaces)
    • Estimated reading time
    • Sentence and paragraph counts
  6. Adjust content to meet your target (e.g., 1,500+ words for SEO)

SEO Word Count Guidelines:

  • Short posts: 300-600 words (news, updates)
  • Medium posts: 800-1,200 words (how-to guides)
  • Long-form: 1,500-2,500 words (comprehensive guides)
  • Pillar content: 3,000+ words (ultimate guides)

✏️ How to Convert Text Case

Use Case: Convert text between naming conventions (camelCase, snake_case, etc.).

Step-by-Step:

  1. Copy your text
  2. Open the Text Case Converter
  3. Paste your text
  4. Select desired format:
    • UPPERCASE: ALL CAPS
    • lowercase: all lowercase
    • Title Case: Capitalize First Letter Of Each Word
    • Sentence case: Capitalize first letter only
    • camelCase: firstWordLowercaseRestCapitalized
    • PascalCase: AllWordsCapitalized
    • snake_case: words_separated_by_underscores
    • kebab-case: words-separated-by-hyphens
  5. Copy converted text

Developer Use Cases:

  • Convert API responses between naming conventions
  • Refactor code when switching languages
  • Format database column names
  • Create URL slugs from titles

Tips for Maximum Productivity

Markdown Editor Tutorial

πŸ“ How to Write GitHub README Files

Use Case: Create professional README documentation with live preview.

Step-by-Step:

  1. Open the Markdown Editor
  2. Write your README using Markdown syntax:
    # My Project
    
    ## Features
    - Feature 1
    - Feature 2
    
    ## Installation
    \`\`\`bash
    npm install my-project
    \`\`\`
    
    ## Usage
    Use it like this: \`const x = require('my-project')\`
  3. See live preview on the right side
  4. Export to HTML or copy Markdown
  5. Paste into your GitHub repository

Common Markdown Syntax:

  • # Heading for headings (# to ######)
  • **bold** for bold text
  • *italic* for italic text
  • [link](url) for links
  • ![alt](image.png) for images
  • \`code\` for inline code
  • \`\`\`language for code blocks

Regex Tester Tutorial

πŸ” How to Test Email Validation Regex

Problem: You need to validate email addresses in a form.

Step-by-Step:

  1. Open the Regex Tester
  2. Enter regex pattern:
    ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
  3. Test with sample emails:
    john@example.com βœ…
    user.name+tag@example.co.uk βœ…
    invalid.email@com ❌
    no-at-sign.com ❌
  4. Enable flags if needed:
    • g (global): Find all matches
    • i (case-insensitive): Match UPPER and lower
    • m (multiline): Match across lines
  5. See matches highlighted in real-time

Common Regex Patterns:

  • Email: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
  • Phone (US): ^\d{3}-\d{3}-\d{4}$
  • URL: ^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b
  • Hex Color: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$

CSS & HTML Tools Tutorial

⚑ How to Minify CSS for Production

Goal: Reduce CSS file size for faster page loads.

Step-by-Step:

  1. Copy your CSS file
  2. Open the CSS Minifier
  3. Paste your CSS
  4. Click "Minify CSS"
  5. See before/after file size comparison
  6. Download minified CSS or copy to clipboard
  7. Use minified version in production

What Gets Removed:

  • All comments (/* ... */)
  • Unnecessary whitespace and line breaks
  • Extra semicolons

Before (2,450 bytes):

/* Header styles */
.header {
    background-color: #ffffff;
    padding: 20px;
}

After (1,680 bytes - 31% smaller):

.header{background-color:#fff;padding:20px}

🎨 How to Beautify Minified HTML

Problem: You received minified HTML and need to read/edit it.

Step-by-Step:

  1. Copy the minified HTML
  2. Open the HTML Beautifier
  3. Paste the HTML
  4. Choose indentation:
    • 2 Spaces (most common)
    • 4 Spaces (traditional)
    • Tabs
  5. Click "Beautify HTML"
  6. See properly formatted, readable HTML

Before:

<div><h1>Title</h1><p>Paragraph</p></div>

After:

<div>
  <h1>Title</h1>
  <p>Paragraph</p>
</div>

Developer Utility Tutorials

⏰ How to Convert Unix Timestamps

Use Case: Convert server log timestamps to readable dates.

Step-by-Step:

  1. Open the Timestamp Converter
  2. See current time updated live (Unix and readable)
  3. To convert timestamp to date:
    • Paste Unix timestamp (e.g., 1704067200)
    • Click "Convert to Date"
    • See: "Monday, January 1, 2024 12:00:00 AM"
  4. To convert date to timestamp:
    • Enter date/time in readable format
    • Click "Convert to Timestamp"
    • Get Unix timestamp

Common Timestamp Values:

  • 0 = January 1, 1970 (Unix epoch start)
  • 1000000000 = September 9, 2001
  • 1700000000 = November 14, 2023
  • Current time = ~1735000000 (early 2025)

πŸ”‘ How to Generate UUIDs in Bulk

Use Case: Create unique IDs for database records or testing.

Step-by-Step:

  1. Open the UUID Generator
  2. Choose quantity (1-100)
  3. Click "Generate UUIDs"
  4. See list of unique v4 UUIDs:
    a3f2b1c4-5d6e-4f7a-8b9c-0d1e2f3a4b5c
    b4c3d2e1-6f7a-5e8b-9c0d-1e2f3a4b5c6d
  5. Copy individual UUIDs or click "Copy All"
  6. Use in SQL, API requests, or configuration files

What is UUID v4?

  • 128-bit random identifier
  • Format: 8-4-4-4-12 hexadecimal digits
  • Virtually impossible to generate duplicates
  • Used for database IDs, session tokens, file names

πŸ”“ How to Decode JWT Tokens

Problem: You need to inspect a JWT token to debug authentication.

Step-by-Step:

  1. Copy your JWT token (looks like: eyJhbGc...)
  2. Open the JWT Decoder
  3. Paste the token
  4. See decoded information:
    • Header: Algorithm (HS256, RS256, etc.)
    • Payload: User data, claims, expiration
    • Signature: Verification hash
  5. Check expiration time (exp claim)
  6. Verify issuer (iss claim)

⚠️ Security Notes:

  • JWT tokens are NOT encrypted, only encoded
  • Never put sensitive data in JWT payload
  • Always verify signatures on the server
  • Use short expiration times (1 hour recommended)

Example Decoded Payload:

{
  "sub": "user123",
  "name": "John Doe",
  "iat": 1704067200,
  "exp": 1704070800
}

πŸ“„ How to Format XML from APIs

Use Case: Debug SOAP API responses with minified XML.

Step-by-Step:

  1. Copy XML response from API
  2. Open the XML Formatter
  3. Paste XML
  4. Click "Format XML"
  5. See formatted output with proper indentation
  6. If there are syntax errors, the tool highlights them

Common XML Errors:

  • Missing closing tags: <tag>content ❌ β†’ <tag>content</tag> βœ…
  • Unescaped special chars: <msg>5 < 10</msg> ❌ β†’ <msg>5 &lt; 10</msg> βœ…
  • Mismatched tags: <open></close> ❌

Design Tools Tutorial

πŸ–ΌοΈ How to Compress Images Without Quality Loss

Goal: Reduce image file sizes for faster website loading.

Step-by-Step:

  1. Open the Image Compressor
  2. Click "Choose File" and select JPG, PNG, or WebP image
  3. Adjust quality slider (recommended: 80-85%)
  4. See real-time preview of compressed image
  5. Compare before/after file sizes
  6. Download compressed image

Compression Guidelines:

  • Photos: 75-85% quality (good balance)
  • Graphics/Logos: 85-95% quality (preserve detail)
  • Backgrounds: 60-75% quality (acceptable blur)

Expected Results:

  • JPG: 40-60% size reduction
  • PNG: 30-50% size reduction (depends on content)
  • WebP: 60-80% smaller than JPG (best format)

🎨 How to Optimize SVG Icons

Problem: SVG files from design tools contain unnecessary metadata.

Step-by-Step:

  1. Open SVG file in text editor and copy code
  2. Open the SVG Optimizer
  3. Paste SVG code
  4. Click "Optimize SVG"
  5. See optimized output with:
    • Removed comments and metadata
    • Removed unnecessary attributes
    • Minimized whitespace
  6. Download or copy optimized SVG

What Gets Removed:

  • XML declarations
  • Editor metadata (Illustrator, Figma, Sketch data)
  • Unnecessary id attributes
  • Comments
  • Whitespace between tags

File Size Reduction:

  • Typical reduction: 40-60%
  • 8 KB β†’ 3 KB common
  • Faster page loads, especially with many icons

πŸ“‹ How to Generate Placeholder Text

Use Case: Fill design mockups with realistic placeholder content.

Step-by-Step:

  1. Open the Lorem Ipsum Generator
  2. Choose format:
    • Paragraphs: For body content (5 paragraphs)
    • Words: For headlines (50 words)
    • Sentences: For list items (10 sentences)
  3. Set quantity
  4. Choose whether to start with "Lorem ipsum dolor sit amet..."
  5. Click "Generate"
  6. Copy and paste into your mockup

Design Use Cases:

  • Homepage hero: 2-3 sentences
  • About page: 4-6 paragraphs
  • Blog post: 8-12 paragraphs
  • Card descriptions: 20-30 words each

Tips for Maximum Productivity

πŸš€ Power User Tips

  1. Bookmark Frequently Used Tools: Create a bookmarks folder with your most-used tools for instant access
  2. Use Keyboard Shortcuts:
    • Ctrl+A / Cmd+A: Select all
    • Ctrl+C / Cmd+C: Copy
    • Ctrl+V / Cmd+V: Paste
    • Alt+H: Homepage (on our site)
    • Alt+T: Tools page
    • Alt+B: Blog page
  3. Pin Tabs: Keep frequently used tools in pinned browser tabs
  4. Learn Tool Patterns: Most tools follow the same workflow (paste β†’ process β†’ copy)
  5. Chain Tools Together: Output from one tool can be input for another (e.g., URL encode β†’ Base64 encode)

Need More Help?

Can't find the tutorial you're looking for? We're here to help!