# Tooljig guides

> Step-by-step guides for the tools: how the calculations work, how to convert and compress files, and how to use on-device AI.

URL: https://www.tooljig.com/blog

## AI

- [How to chat with a PDF without uploading it](https://www.tooljig.com/blog/how-to-chat-with-a-pdf-privately.md): Ask questions about a long PDF and get answers with page citations from an AI model that runs in your browser, so the document never leaves your device.
- [How to extract names, dates and amounts from text with AI](https://www.tooljig.com/blog/how-to-extract-names-dates-and-amounts-from-text.md): Pull people, companies, dates, amounts or any custom labels out of text with GLiNER2 in your browser, then export the results as JSON.
- [How to run AI models in your browser, privately and offline](https://www.tooljig.com/blog/how-to-run-ai-models-in-your-browser.md): What on-device AI is, which small open models run in a browser tab, what your computer needs, and how to manage the models stored on your device.

## PDF

- [How to add page numbers and a watermark to a PDF](https://www.tooljig.com/blog/how-to-add-page-numbers-to-a-pdf.md): Number the pages of any PDF, choose the position and format, skip the cover page, and stamp a text watermark such as DRAFT or CONFIDENTIAL.
- [How to compress a PDF to fit email and upload limits](https://www.tooljig.com/blog/how-to-compress-a-pdf.md): Shrink a PDF so it fits under email and upload limits, choose the right compression level, and understand what gets smaller and what stays sharp.
- [How to merge PDF files without uploading them](https://www.tooljig.com/blog/how-to-merge-pdf-files.md): Combine several PDFs into one file in the order you want, right in your browser, and learn what to check before you send the merged document.
- [How to split a PDF or pull out specific pages](https://www.tooljig.com/blog/how-to-split-a-pdf.md): Split a PDF into single pages or ranges, save just the pages you need as a new file, or delete the ones you don't, all in your browser.
- [How to turn images into a PDF](https://www.tooljig.com/blog/how-to-turn-images-into-a-pdf.md): Combine photos, screenshots or scans into one PDF in the order you choose, pick page size and margins, and keep the file small enough to send.

## Images

- [How to convert PNG to JPG, and when to use WebP](https://www.tooljig.com/blog/how-to-convert-png-to-jpg.md): Convert images between PNG, JPG and WebP in your browser, and learn which format suits photos, screenshots, logos and transparent graphics.
- [How to reduce image size for a faster website](https://www.tooljig.com/blog/how-to-reduce-image-size-for-a-website.md): Resize, compress and choose the right format for website images so pages load quickly, with sensible target sizes and a few lines of HTML that help.

## Video & audio

- [How to compress a video for sharing](https://www.tooljig.com/blog/how-to-compress-a-video.md): Make a video smaller for email, chat or upload, choose between the quality presets and a resolution cap, and understand what CRF means.
- [How to extract audio from a video as an MP3](https://www.tooljig.com/blog/how-to-extract-audio-from-a-video.md): Save the sound from a video as an MP3 you can play anywhere, pick the right bitrate, and convert the audio to WAV, FLAC or other formats if needed.
- [How to make a GIF from a video that stays small](https://www.tooljig.com/blog/how-to-make-a-gif-from-a-video.md): Turn a short video clip into an animated GIF, pick the start, length, frame rate and width, and keep the file small enough to post or embed.

## Text

- [How to count words and characters in your text](https://www.tooljig.com/blog/how-to-count-words-and-characters.md): Count words and characters with or without spaces, check text against common platform limits, and estimate reading and speaking time for a draft.
- [How to remove line breaks from text copied from a PDF](https://www.tooljig.com/blog/how-to-remove-line-breaks-from-pdf-text.md): Fix text pasted from a PDF that breaks at every line: join lines into paragraphs, repair hyphenated words and clean up headers and page numbers.

## Developer

- [How to add Open Graph meta tags for link previews](https://www.tooljig.com/blog/how-to-add-open-graph-meta-tags.md): Add title, description, og:image and X card tags so shared links show a proper preview, pick the right image size, and test the result before you post.
- [How to calculate a subnet from CIDR notation](https://www.tooljig.com/blog/how-to-calculate-a-subnet.md): Work out the network, broadcast and usable host range of any IPv4 CIDR block, handle /31 and /32, split a /24 into smaller subnets and spot private ranges.
- [How to decode a JWT and check when it expires](https://www.tooljig.com/blog/how-to-decode-a-jwt.md): Read a JSON Web Token's header and payload, understand Base64URL and the exp claim, and learn why decoding a token is not the same as verifying it.
- [How to format and validate JSON (and fix common errors)](https://www.tooljig.com/blog/how-to-format-json.md): Pretty-print and validate JSON, fix trailing commas, single quotes and comments that break parsers, then generate TypeScript types from a sample.
- [How to make a Wi-Fi QR code guests can scan](https://www.tooljig.com/blog/how-to-make-a-wifi-qr-code.md): Create a QR code that joins your Wi-Fi network in one scan, understand the WIFI payload and escaping, pick an error correction level and print it well.
- [How to read a cron expression](https://www.tooljig.com/blog/how-to-read-a-cron-expression.md): Learn the five cron fields, what *, lists, ranges and steps mean, the day-of-month and day-of-week OR rule, and the schedules you will use most.
- [How to test a regular expression before you use it](https://www.tooljig.com/blog/how-to-test-a-regular-expression.md): Test a regex against real text, use flags, capture groups and backreferences in replacements, and avoid patterns that backtrack catastrophically.
- [How to understand chmod permissions (644, 755 and more)](https://www.tooljig.com/blog/how-to-understand-chmod-permissions.md): Read rwx permissions and octal modes, choose between 644 and 755, understand setuid, setgid and the sticky bit, and see why chmod 777 is rarely the fix.

## Design

- [How to check color contrast for WCAG AA and AAA](https://www.tooljig.com/blog/how-to-check-color-contrast.md): Measure the WCAG contrast ratio between text and background, learn the AA and AAA thresholds for text and UI components, and fix colors that fail.

## Money

- [How compound interest works](https://www.tooljig.com/blog/how-compound-interest-works.md): Understand compound vs simple interest, how compounding frequency and monthly contributions change growth, and how to use the rule of 72 to estimate.
- [How to calculate a mortgage payment](https://www.tooljig.com/blog/how-to-calculate-a-mortgage-payment.md): Learn the amortization formula behind a monthly mortgage payment, what PITI includes, and how the down payment and loan term change the total cost.
- [How to calculate percentage change (and avoid mistakes)](https://www.tooljig.com/blog/how-to-calculate-percentage-change.md): Work out percentage increases and decreases, percent of a number and reverse percentages, and stop confusing percent with percentage points.
- [How to calculate profit margin and markup](https://www.tooljig.com/blog/how-to-calculate-profit-margin-and-markup.md): Calculate gross margin and markup from cost and price, convert one into the other, and set a selling price that hits the margin you are aiming for.
- [How to calculate VAT (add it or remove it)](https://www.tooljig.com/blog/how-to-calculate-vat.md): Add VAT to a net price or remove it from a gross price at any rate, and see why you divide by 1 + rate instead of subtracting the percentage.

## School

- [How to calculate the grade you need on a final](https://www.tooljig.com/blog/how-to-calculate-the-grade-you-need-on-a-final.md): Work out the score you need on a final exam to reach a target grade using weighted averages, and what to do when the score needed is over 100%.

## Time & dates

- [How to calculate hours worked for a timesheet](https://www.tooljig.com/blog/how-to-calculate-hours-worked.md): Total the hours on a timesheet, convert h:mm to decimal hours for payroll, subtract unpaid breaks, handle overnight shifts and estimate annual pay.
- [How to calculate the number of days between dates](https://www.tooljig.com/blog/how-to-calculate-days-between-dates.md): Count the days between two dates, decide whether to include the end date, count business days, add days to a date and work out an exact age.
- [How to convert time zones for a meeting](https://www.tooljig.com/blog/how-to-convert-time-zones-for-a-meeting.md): Convert a meeting time between cities, understand UTC offsets and daylight saving dates, and pick a time that is fair to everyone on the call.
