The Logic Archive

Guides

110 short, practical how-tos behind the tools: how documents and images really work, and how to stay in control of your data.

PDF guides (28)

Merge, split, compress, rotate, number, watermark and convert PDFs, step by step. See the full PDF list

PDF · 8 min read

The complete guide to working with PDFs privately in your browser

Merge, split, compress, rotate, number, watermark, sign and convert PDFs without uploading them. A map of every PDF task and the right tool for each.

PDF · 4 min read

How to sign a PDF without uploading it anywhere

Add a signature picture or typed name to a PDF in your browser, choose the pages and position, and know when you need a certified digital signature.

PDF · 6 min read

How to compress a PDF without ruining it

Why some PDFs shrink a lot and others barely change, the difference between lossless and image-based compression, and how to pick the right setting.

PDF · 3 min read

PDF page ranges cheat sheet: the syntax every tool here understands

How to type page selections like 1,3-5, 8- and last for splitting, extracting, rotating and removing PDF pages, with worked examples.

PDF · 4 min read

How to convert JPG and PNG images into a single PDF

Combine photos or scans into one PDF, set the order, page size, orientation and margin, and download it without uploading anything.

PDF · 3 min read

How to edit or remove PDF metadata (title, author, keywords)

See and change a PDF's title, author, subject, keywords and creator, or clear all metadata before you share the file.

PDF · 3 min read

How to extract text from a PDF into a .txt file

Copy all the text from a PDF into a plain text file, with optional page-break markers and password support.

PDF · 4 min read

How to remove a password or restrictions from your own PDF

If you know the password or own the file, remove the open password or copy and print limits by rebuilding the PDF as page images.

PDF · 3 min read

How to make thumbnails of a PDF's cover or every page

Create preview images from the first page, all pages or chosen pages of a PDF, at the width you need, as JPG, WebP or PNG.

PDF · 4 min read

Which DPI should you use when converting a PDF to an image?

72, 150, 200 or 300 dpi? A plain-language guide to choosing resolution and format when exporting PDF pages as images for screen, web or print.

PDF · 4 min read

How to convert a PDF to JPG, PNG or WebP images

Turn each PDF page into an image at 72 to 300 dpi, choose the format and quality, and download images or a ZIP. Nothing is uploaded.

PDF · 4 min read

How to resize a PDF to A4, Letter, A3 or a custom page size

Convert every page of a PDF to a standard or custom paper size, either fitting the content or stretching it, and keep landscape pages landscape.

PDF · 3 min read

How to add margins to a PDF for binding, notes or printing

Add white space around PDF pages, either by growing the page or shrinking the content, in mm, cm, inches or points.

PDF · 4 min read

How to add a watermark (DRAFT, CONFIDENTIAL) to a PDF

Stamp text on every page of a PDF, as one large mark or repeated across the page, with your own opacity, angle and colour.

PDF · 3 min read

How to remove or hide page numbers and footers in a PDF

Cover old page numbers or header and footer text with a clean strip in the colour of the page, for chosen pages.

PDF · 5 min read

How to add page numbers to a PDF for free (Roman numerals too)

Stamp page numbers on any PDF with your choice of format, font, position and start number. Supports i, ii, iii and mirrored print layouts.

PDF · 4 min read

How to convert a colour PDF to black and white (grayscale)

Turn a colour PDF into grayscale to save ink or clean up scans. Choose 100 to 300 dpi and boost contrast for faded pages.

PDF · 4 min read

How to add a header, footer, date or note to every PDF page

Stamp text such as "Confidential" or an invoice number at the top or bottom of PDF pages, with a date and page-number placeholders.

PDF · 4 min read

How to remove blank pages from a scanned PDF automatically

Detect and delete empty pages from scans and exports with an adjustable strictness setting, then download a cleaned PDF.

PDF · 3 min read

How to crop a PDF: trim white space or scan borders from every page

Cut a set number of millimetres from each side of your PDF pages to remove margins or dark scan edges, entirely in your browser.

PDF · 3 min read

How to duplicate pages in a PDF (copies, dividers, forms)

Repeat selected PDF pages one or more times, placing the copies right after each page or at the end. Done locally in your browser.

PDF · 2 min read

How to reverse the page order of a PDF

Flip a PDF so the last page comes first. Useful for scans made in the wrong order and for printing in reverse. One click, no upload.

PDF · 3 min read

How to rotate PDF pages permanently (sideways or upside-down)

Fix sideways or upside-down pages in a PDF by 90, 180 or 270 degrees, for all pages or only the ones you choose, and save the change.

PDF · 4 min read

How to reorder, rotate and delete PDF pages visually

Use a page grid to drag pages into a new order, rotate, duplicate or delete them, then save a new PDF. Private, in your browser.

PDF · 3 min read

How to extract pages from a PDF into a new document

Keep only the pages you need from a PDF, such as one chapter or a signature page, and save them as a new file in your browser.

PDF · 3 min read

How to delete pages from a PDF for free (no upload)

Remove unwanted pages from a PDF by typing page numbers or ranges. The result is a new file; your original stays untouched.

PDF · 4 min read

How to split a PDF into separate files by page range

Split a PDF by page ranges, every N pages or into single pages, then download each part or one ZIP. All in your browser.

PDF · 4 min read

How to merge PDF files online without uploading them

Combine several PDFs into one in your browser, set the order by dragging, and keep the files private on your own device.

Image guides (11)

Compress, convert, resize, crop and fix photos, and choose the right format. See the full Image list

Image · 3 min read

How to convert SVG to PNG with a transparent background

Convert an SVG logo or icon to a sharp PNG at 1×, 2× or 4× size, keep transparency and avoid the common blank-image problem.

Image · 4 min read

How to remove EXIF and GPS data from photos before sharing

Photos can reveal where and when they were taken. Strip location, camera and other hidden metadata in your browser, without uploading the picture.

Image · 4 min read

How to resize an image to exact pixels or a percentage

Change image dimensions by width and height or by scale, keep proportions, pick the output format and quality, for many images at once.

Image · 4 min read

How to convert between JPG, PNG and WebP images

Switch image formats in bulk, control quality, and choose the colour that fills transparent areas when converting to JPG.

Image · 5 min read

JPG vs PNG vs WebP: which image format should you use?

A practical comparison of JPG, PNG and WebP covering photos, screenshots, logos and transparency, plus quality settings that work in practice.

Image · 4 min read

How to reduce an image to 100 KB or 200 KB for form uploads

Many portals cap photo size. Use the target size option to shrink a JPG or WebP below a limit like 100 KB or 200 KB, locally.

Image · 4 min read

How to compress JPG, PNG and WebP images without losing visible quality

Shrink photos in bulk with a quality slider, optional size limit and format choice, all inside your browser so your pictures stay private.

Image · 4 min read

How to create a favicon.ico and app icons from one image

Make favicon.ico, 16x16 and 32x32 PNGs, an Apple touch icon and Android icons from a single logo, plus the HTML tags to use them.

Image · 3 min read

How to make a photo black and white, sepia or adjust brightness

Apply black and white, sepia or inverted colours and adjust brightness and contrast to many images at once, without uploading them.

Image · 3 min read

How to rotate or flip a photo (fix sideways and mirrored images)

Rotate images 90, 180 or 270 degrees and mirror them left to right or top to bottom, for many photos at once, in your browser.

Image · 4 min read

How to crop an image to a square, 4:5, 16:9 or passport shape

Crop photos by aspect ratio or by cutting from the edges, choose which part to keep, and process many images at once.

Developer guides (28)

JSON, Base64, JWT, hashes, regex, timestamps and other everyday developer tasks explained. See the full Developer list

Developer · 3 min read

How to convert Markdown to HTML safely

Turn Markdown into clean HTML with headings, lists, links and code blocks, and see how unsafe HTML and links are handled.

Developer · 4 min read

Cron expressions explained: the five fields with examples

Learn the five cron fields, ranges, steps and shortcuts, and check what a schedule means and when it will next run.

Developer · 3 min read

How to format SQL queries so they are easy to read

Format SQL with upper-case keywords, one clause per line and indented conditions, and learn style habits that make queries readable.

Developer · 3 min read

How to minify CSS and how much it really saves

Minify CSS by removing comments and whitespace, learn what is safe, and combine it with compression for faster pages.

Developer · 4 min read

Linux file permissions and chmod explained (755, 644)

Understand read, write and execute for owner, group and others, convert 755 to rwxr-xr-x and pick safe permissions.

Developer · 3 min read

What is a user-agent string and how to read it

Learn what a browser user-agent contains, how to find yours and why it is not a reliable way to identify devices.

Developer · 5 min read

Base64 encoding and decoding: what it is and how to do it

Learn what Base64 is for, why it is not encryption, and how to encode or decode text with Unicode and URL-safe options.

Developer · 5 min read

How to format, validate and minify JSON online (with error positions)

Pretty-print messy JSON, find syntax errors by line and column, sort keys, minify, and escape or unescape strings, all locally.

Developer · 7 min read

How local-first browser tools work: PDFs, images and workers

A developer’s look at how tools like YantraStack process PDFs and images entirely client-side, using standard browser APIs, Web Workers and canvas.

Developer · 6 min read

JWTs explained: what is inside a token and mistakes to avoid

What the three parts of a JSON Web Token contain, why decoding is not verifying, and the security mistakes developers make most often with JWTs.

Developer · 4 min read

How to convert an image to Base64 (data URI, img tag or CSS)

Turn a small image into a Base64 data URI, plain Base64 text, a ready-made img tag or a CSS background rule, and see the size cost.

Developer · 3 min read

How to convert JSON to YAML for config and Kubernetes files

Turn JSON into clean YAML with 2 or 4 space indentation in your browser, and learn the main differences between the two formats.

Developer · 4 min read

How to convert numbers between binary, decimal, octal and hex

Convert a number between binary, octal, decimal, hexadecimal and base 36 with one entry, and learn how each system counts.

Developer · 3 min read

How to break a URL into protocol, host, path and query parameters

Paste a web address and see every part separately, with query parameters decoded in a readable list. Useful for debugging links and redirects.

Developer · 3 min read

How to encode and decode HTML entities (&, <, ₹)

Make text safe to show inside HTML by encoding special characters, or decode entities back to normal characters, with an option for accents and emoji.

Developer · 4 min read

How to convert CSV to JSON and JSON to CSV online

Paste CSV or JSON and convert in either direction, choose comma, semicolon, tab or pipe, and keep numbers and true/false as real values.

Developer · 5 min read

QR code error correction explained (L, M, Q, H) and printing tips

Understand the four error correction levels in QR codes, what size and colours scan reliably, and when to choose PNG or SVG.

Developer · 4 min read

How to make a Wi-Fi QR code guests can scan to join your network

Create a QR code with your network name and password, so phones join Wi-Fi in one scan. Free, private, with PNG and SVG downloads.

Developer · 3 min read

How to generate a random password that websites will accept

Fix "password rejected" problems: set length, character types, start-with-a-letter and excluded characters, then generate several options.

Developer · 4 min read

How to convert HEX, RGB and HSL colours and check contrast

Convert any colour between HEX, RGB and HSL and see its contrast ratio against white and black with AA and AAA grades for readable design.

Developer · 4 min read

How to convert a Unix timestamp to a date (and back)

Turn 1700000000 or an ISO date into readable time in UTC, local time and any time zone, and learn seconds versus milliseconds.

Developer · 3 min read

How to count words, characters and reading time in any text

Get live word, character, sentence and paragraph counts plus reading and speaking time, and see your most-used words.

Developer · 4 min read

How to convert text to camelCase, snake_case, kebab-case and more

Switch between UPPER, lower, Title, Sentence, camel, Pascal, snake, kebab, dot.case, Train-Case, URL slugs and more with one paste.

Developer · 4 min read

How to compare two texts and see what changed

Paste an original and an edited version, and see added and removed lines marked with plus and minus signs. Good for contracts, config files and drafts.

Developer · 6 min read

How to test a regular expression online (JavaScript regex)

Enter a pattern and flags, paste sample text and see every match, its position and capture groups. Includes useful patterns and common pitfalls.

Developer · 4 min read

UUID v4 vs v7: how to generate them and which one to use

Generate random v4 or time-ordered v7 UUIDs in bulk, with or without hyphens, and learn when each version is the better choice.

Developer · 5 min read

How to generate a SHA-256 hash (and HMAC) of any text

Create SHA-256, SHA-512, SHA-384 or SHA-1 hashes, add a secret key for HMAC, and learn why hashing is not password storage.

Developer · 4 min read

URL encoding explained: encode and decode query strings safely

Understand percent-encoding, the difference between encoding a component and a whole URI, and decode %20-style text in your browser.

Text guides (4)

Clean, sort and transform text, plus placeholder text and Morse code. See the full Text list

Calculator guides (26)

How EMI, SIP, GST, percentages, age and unit conversions are worked out. See the full Calculators list

Calculators · 8 min read

The complete guide to money calculators: EMI, SIP, FD, PPF and more

Which calculator to use for loans, investing, tax-saving and salary in India, with a plain-language explanation of what each number means.

Calculators · 4 min read

CTC to in-hand salary: where the money goes

Understand basic, HRA, PF, gratuity and professional tax, and estimate your monthly take-home salary from your yearly CTC.

Calculators · 4 min read

EPF explained: contributions, interest and your balance

See how employee and employer contributions and yearly interest grow your EPF, and project the balance at retirement.

Calculators · 3 min read

How gratuity is calculated: formula and examples

Gratuity equals last drawn basic plus DA × 15 ÷ 26 × years of service. See the formula, the rounding rule, eligibility and the tax-free limit.

Calculators · 3 min read

How to check a GSTIN or PAN number for mistakes

Learn the structure of a GSTIN and PAN, what the check digit does, and catch typing mistakes before you file or send an invoice.

Calculators · 3 min read

Lumpsum investment: how much will it be worth?

Calculate the future value of a one-time investment and what it is worth in today’s money after inflation.

Calculators · 4 min read

Systematic withdrawal plan (SWP): how long will your money last?

Learn how an SWP works, test different monthly withdrawals and see whether your corpus lasts for the years you need.

Calculators · 3 min read

How fixed deposit (FD) maturity and interest are calculated

Work out FD maturity with monthly, quarterly or yearly compounding, see tax on interest, and learn why the compounding choice matters.

Calculators · 3 min read

How recurring deposit (RD) maturity is calculated

Enter a monthly deposit, rate and period to see the RD maturity amount with quarterly compounding, and learn why bank figures can differ slightly.

Calculators · 4 min read

PPF explained: how much you get after 15 years

Estimate your PPF maturity value from a yearly deposit and the current rate, and understand the limits, lock-in and tax-free interest.

Calculators · 4 min read

Profit margin vs markup: how to price a product

Learn the difference between margin and markup, and work out the selling price for the profit you want.

Calculators · 3 min read

What is CAGR and how to calculate it

CAGR is the steady yearly growth rate between two values. Calculate it from start, end and years, or find the final value from a given rate.

Calculators · 3 min read

Simple interest: formula, examples and a quick calculator

Calculate simple interest and total amount with Principal × Rate × Time ÷ 100, in years, months or days, and see how it differs from compound interest.

Calculators · 3 min read

How to convert CGPA to percentage (and back)

Turn CGPA into a percentage with the CBSE, VTU or simple multiplier formulas, or convert a percentage back to CGPA, and know which rule to trust.

Calculators · 4 min read

How HRA exemption is calculated under the old tax regime

See how much of your house rent allowance is tax-exempt: the lowest of actual HRA, rent minus 10% of basic, and 50% or 40% of basic salary.

Calculators · 3 min read

How to calculate BMI and find your healthy weight range

Enter weight and height to get your BMI, the category with Indian or WHO cut-offs, and the weight range that counts as healthy for your height.

Calculators · 3 min read

How to count days and working days between two dates

Find the gap between two dates in years, months, days and weeks, and count working days with your own weekend rules and inclusive end dates.

Calculators · 4 min read

How compound interest works: yearly, monthly and daily compounding

See how a lump sum grows when interest is added once a year, every six months, quarterly, monthly or daily, with a clear example.

Calculators · 5 min read

How a SIP calculator works: monthly investing, returns and step-up

Estimate what a monthly SIP could grow to, with an optional yearly step-up, and understand why returns are only an assumption.

Calculators · 5 min read

How to calculate loan EMI: formula, example and what affects it

Work out your monthly EMI, total interest and yearly repayment breakdown for a home, car or personal loan, with Indian or international number style.

Calculators · 3 min read

How to convert Roman numerals to numbers and back

Convert numbers to Roman numerals and Roman numerals to numbers, many lines at once, with the rules explained.

Calculators · 3 min read

How to write numbers in words (lakh, crore, rupees and paise)

Convert numbers to words in Indian or international style, with rupees and paise or dollars and cents for cheques and invoices.

Calculators · 4 min read

How to convert units: length, weight, area, volume, speed, data and temperature

Convert between metric, imperial and Indian units such as tola, quintal and bigha, plus storage, time and temperature, in your browser.

Calculators · 3 min read

How to calculate exact age in years, months and days

Enter a date of birth to get age in years, months and days, plus days until the next birthday, or calculate age as on a particular date.

Calculators · 4 min read

How to calculate percentages: of, change, discount and increase

Six common percentage questions solved with formulas and examples: percent of a number, percent change, discounts, increases and reverse percentages.

Calculators · 4 min read

How to calculate GST: add GST, remove GST, CGST, SGST and IGST

Find the GST amount and total for any price, or extract GST from a GST-inclusive price, with the CGST/SGST or IGST split.

Design guides (4)

Gradients, colour palettes, contrast and accessible colour choices. See the full Design list

SEO & web guides (7)

Meta tags, robots.txt, sitemaps, UTM tracking and clean URLs. See the full SEO list

SEO · 7 min read

A technical SEO checklist for a small website (free tools included)

Titles, descriptions, canonical links, robots.txt, sitemap, structured data, clean URLs and campaign tracking: what to set up and how to check each one.

SEO · 4 min read

How to add FAQ and breadcrumb schema (JSON-LD) to a page

Generate FAQPage, BreadcrumbList, Organization and Article JSON-LD, paste it into your page and test it, without writing the markup by hand.

SEO · 3 min read

How to write clean, SEO-friendly URL slugs

Turn titles into short lowercase slugs with hyphens, no accents or symbols, and learn why shorter URLs are easier to read, share and trust.

SEO · 4 min read

UTM parameters explained: build campaign links that track

Learn what utm_source, utm_medium and utm_campaign mean and build a tracked link for Google Analytics with consistent lowercase names.

SEO · 4 min read

How to create a sitemap.xml file and submit it to Google

Turn a list of page addresses into a valid sitemap.xml, learn which fields matter, and submit it in Google Search Console.

SEO · 4 min read

How to create a robots.txt file (and what it cannot do)

Create a robots.txt that blocks folders, adds your sitemap and optionally asks AI crawlers to stay away, and learn why it does not hide pages.

SEO · 4 min read

How to write meta tags and Open Graph tags that get clicks

Generate the title, meta description, canonical, Open Graph and X card tags for a page, with length hints so nothing is cut off in search results.

Privacy & security (2)

How browser-based tools keep your files on your device, and how to verify it. See the full privacy list

↑ ↓ navigateEnter openEsc close