AI & Machine Learning
AI calculators, LLM tools, and machine learning utilities
AI Image Prompt Builder
Turn a plain idea into a professional AI-image prompt. Click style, lighting, camera, mood and quality chips, then export perfectly formatted prompts for Midjourney, Stable Diffusion/SDXL, DALL-E 3 and FLUX.
Private AI Image Generator (Stable Diffusion in Your Browser)
Generate images from text prompts with Stable Diffusion (SD-Turbo) running entirely in your browser via WebGPU. Prompts and images never leave your device — no API key, no uploads.
Activation Function Calculator (Sigmoid, ReLU, GELU, Tanh)
Compute the value and derivative of sigmoid, tanh, ReLU, Leaky ReLU, ELU, SELU, GELU, Swish, softplus and Mish for any x or list of x values, plus softmax for a vector. Plots the chosen function and its derivative from -6 to 6.
AGENTS.md Generator for AI Coding Agents
Describe your repo once and get an AGENTS.md, CLAUDE.md, Cursor rule, .cursorrules or GitHub Copilot instructions file, with stack presets for Node, Python, Go and Rust.
AI Background Remover
Remove image backgrounds instantly in your browser — no upload, no signup, no watermark. Get a transparent PNG, solid-color, or blurred background, with the AI model running entirely on your device so your photos never leave it.
AI Coding Agent Setup Generator
Generate copy-paste config to point Qwen Code, Aider, Continue.dev, Cline, the OpenAI Python SDK, or curl at any OpenAI-compatible endpoint — your local LLM via Ollama or llama.cpp, or any compatible backend. Pick a model preset, set your base URL and API key, and get the exact setup. Runs in your browser.
AI Crawler robots.txt Generator
Block GPTBot, ClaudeBot, Google-Extended and 18 other AI user agents while keeping ChatGPT, Claude and Perplexity search citations, then copy a ready robots.txt. Crawler list as of September 2026.
AI Embedding Cost Calculator
Estimate the total token count and API cost to embed a document corpus using OpenAI, Cohere, or Voyage embedding models.
AI Energy & Water per Query Calculator
Estimate the electricity, water and CO2e behind your AI prompts, images and video seconds using published figures from Google, OpenAI, Epoch AI, the IEA and peer-reviewed studies. Switch between low, median and high estimates and set your own grid intensity and water use effectiveness.
AI Flashcard Generator
Turn study notes into flashcards with private, in-browser AI — your notes never leave your device.
AI GPU Buying Guide: Best GPU for Running Local LLMs
Pick the right GPU for running local LLMs. Choose your target models, quantization, and minimum speed, and get a ranked GPU table with VRAM fit, estimated tokens/sec, and real community benchmark data — all computed in your browser.
AI Image Moderation Preview
Checks an image's file type, size and name in your browser before you upload it elsewhere. It does not judge content. No AI model; nothing is uploaded.
AI Image Resolution Calculator for SDXL, FLUX and DALL-E
Pick an aspect ratio and get the native generation size for SDXL, SD 1.5, FLUX.1, SD 3.5, DALL-E 3 and gpt-image-1, plus the Midjourney --ar value, how far each is off your ratio and the upscale needed for your final size.
AI Quiz Generator
Turn any chapter or notes into a practice quiz with instant scoring and explanations — generated by a private AI that runs entirely in your browser.
AI Text Cleaner: Remove Hidden Characters
Strip zero width spaces, no-break spaces, soft hyphens and other invisible Unicode from ChatGPT, Claude or Gemini text, with a count of every change and a highlighted before and after diff.
AI Token Cost Calculator
Estimate LLM API cost from requests, input tokens, cached input, output tokens, batch discounts, and editable per-million-token model rates.
AI Video Generation Cost Calculator
Estimate what Sora 2, Veo 3 and 3.1, Runway and Luma cost per clip, per month and per finished minute of video. Pick clip length, volume, resolution and audio to see every tier sorted cheapest first.
AI Video Prompt Builder (Sora, Veo, Runway)
Describe a shot once (subject and action, camera move, lens, pace, dialogue and sound) and get a prompt formatted for Veo 3, Sora 2, Runway Gen-4 or any text-to-video model, ready to copy or download.
Alt Text Generator (W3C Decision Tree)
Answer the W3C alt decision tree, describe the image in a few words, and get alt text you can paste: checked for length, "image of", file names and link wording, with the HTML for decorative, linked, chart and grouped images.
AWS Bedrock Pricing Calculator
Calculate AWS Bedrock costs for Claude, Llama, Titan, and other AI models. Estimate input/output token costs for your workload
Batch AI Processor — Run a Prompt Over Every CSV Row Locally
Run one AI prompt across every row of a CSV or spreadsheet entirely in your browser with a local LLM. Classify, extract, summarize, or reformat thousands of rows with zero API costs and zero data sharing.
BLEU Score Calculator
Scores a candidate text against one or more reference texts with BLEU, showing modified 1- to 4-gram precisions, the brevity penalty and the length ratio. For checking machine translation or generated text by hand.
BM25 Score Calculator
Ranks a few pasted documents against a query with Okapi BM25 and shows each term's IDF, frequency and score contribution. For anyone tuning k1 and b or checking the lexical half of a hybrid search or RAG pipeline.
Can I Run AI Locally? Hardware Checker
Find out in 10 seconds whether your computer can run local AI models. One click detects your GPU in the browser and shows which open LLMs you can run, expected speeds, and the cheapest upgrade for models just out of reach. 100% private — nothing is uploaded.
Confusion Matrix Calculator: F1, Precision, Recall, MCC
Enter TP, FP, FN and TN, or a 3 to 8 class matrix, to get accuracy, precision, recall, F1, F-beta, MCC, Cohen's kappa and balanced accuracy with the formula behind each number.
Deep Learning Visualizer — Watch a Neural Network Train, Live
Watch a real neural network learn, step by animated step: see data flow forward through the layers, watch backpropagation send the error backward, and see every weight adjust itself. Train on XOR, circles, moons, or spiral data with a live decision boundary — in slow motion or fast mode, 100% in your browser.
Embedding Similarity Playground
Type sentences and compute real text embeddings in your browser to see how AI measures meaning. Visualizes cosine similarity as a heatmap, a 2D PCA map, and most/least-similar pairs — fully private, nothing is uploaded.
Expected Calibration Error (ECE) Calculator
Paste predicted probabilities and 0/1 labels to get ECE, MCE, Brier score and log loss, a per-bin table and a reliability diagram. Binning matches scikit-learn calibration_curve with uniform or quantile bins.
Fine-Tuning Dataset Builder
Build, validate, and convert LLM fine-tuning datasets entirely in your browser. Add training examples by hand, validate JSONL with line-by-line errors and cost estimates, and convert between OpenAI chat, Alpaca, and ShareGPT formats. Nothing is uploaded — all processing runs locally.
Fine-Tuning VRAM Calculator
Calculate VRAM requirements for fine-tuning LLMs with full fine-tuning, LoRA, or QLoRA. Accounts for gradients, optimizer states, activations, batch size, and gradient checkpointing — see which GPUs can train each model.
Fleiss' Kappa Calculator
Measure how well three or more annotators agree on labels. Paste one row of category counts per item and get Fleiss' kappa, observed agreement and chance agreement.
GGUF Model Inspector
Inspect any GGUF model's architecture, quantization, context length and head/layer geometry straight from a HuggingFace link or local file — without downloading the whole multi-gigabyte file. 100% in-browser; nothing is uploaded.
Image Upscale Sharpen Preview
Enlarge an image in your browser with Lanczos3 resampling, adjust sharpening, compare before and after, and download PNG, JPEG, or WebP. This classic process does not invent detail.
KL Divergence and JS Divergence Calculator
Paste two discrete distributions to get KL(P||Q), KL(Q||P), Jensen-Shannon divergence and distance, cross-entropy and entropy in bits, nats or bans, with a per-element contribution table. Results match scipy.stats.entropy and scipy.spatial.distance.jensenshannon.
KV Cache & Context Length VRAM Calculator
Calculate how much VRAM an LLM's KV cache consumes at any context length. See the model-weights + KV-cache + overhead breakdown, a total-VRAM-vs-context curve against common GPU capacities, and the max context that fits per GPU. All math runs in your browser — nothing is uploaded.
LLM GPU Benchmark
Speed test your GPU for AI — measure real memory bandwidth and compute with WebGPU, run an actual LLM in your browser to measure true tokens/sec, and see predicted speeds for every popular model on your hardware.
LLM Inference Speed Calculator
Estimate LLM tokens per second from memory bandwidth, model size, quantization, and context window. Compare generation speed across GPUs (RTX 4090, 5090, A100, H100, Apple Silicon) and understand the memory-bandwidth bottleneck.
LLM Quantization Explorer: Compare GGUF Quant Levels
Pick any open-weight LLM and compare every GGUF quantization level (FP16 to Q2_K) side by side: file size, VRAM required to run, quality impact, and which GPUs can run it. Includes a "what should I pick?" helper and an explainer. Runs entirely in your browser.
LLM Rate Limit (TPM/RPM) Planner
Given your tokens-per-minute and requests-per-minute limits and an average request size, shows your real maximum throughput, which limit binds, how long a batch job will take, and what limits you would need to finish in a target time.
LLM Sampling Parameters Playground: Temperature, Top-k & Top-p
Interactively see how temperature, top-k, and top-p reshape an LLM's next-token probabilities. A no-download simulator runs the real decoding math on example distributions, and an optional in-browser model inspects a real model's logprobs — 100% private, nothing leaves your browser.
LLM Structured Output Builder
Visually build a JSON Schema and instantly generate OpenAI structured outputs, OpenAI/Anthropic tool definitions, Zod, and Pydantic code — plus validate sample responses and import existing schemas. 100% in-browser; nothing you type is uploaded.
LLM Token Counter
Count tokens in text for GPT, Claude, Gemini, and open models like Llama, Gemma, and Qwen — or search any model on Hugging Face. Estimate API costs, check context window fit, and optimize prompts
LLM Token Usage Calculator
Calculate token usage and associated costs for LLM prompts.
LLM VRAM Calculator
Calculate how much VRAM any LLM needs to run locally — pick a model (Llama, Gemma, Qwen, DeepSeek, or search Hugging Face), choose a quantization and context size, and see which GPUs it fits on, including multi-GPU setups.
llms.txt Generator: Build an llms.txt From Your Sitemap
Paste a URL list or your sitemap.xml and get a ready-to-upload llms.txt that follows the llmstxt.org proposal, with sections grouped by folder and low-priority links moved to Optional.
Local AI Chat
Chat with an AI model that runs entirely in your browser — free, no signup, no API key. Pick a model like Llama 3.2 or Qwen 2.5, load your own GGUF file, and conversations never leave your device.
Local RAG Playground — Chat With Your Documents In-Browser
A working Retrieval-Augmented Generation pipeline that runs 100% in your browser: add documents, chunk them, embed with all-MiniLM-L6-v2, and ask questions with cosine top-5 retrieval plus an optional in-browser LLM answer. Your documents never leave the browser — nothing is uploaded.
MCP Server Config Builder
Build and validate Model Context Protocol (MCP) server configs for Claude Desktop, Claude Code, Cursor, and VS Code. Pick from 16 popular servers, fill in credentials, and copy valid config JSON plus setup commands. Runs entirely in your browser — tokens never leave your machine.
Model Card Generator: Hugging Face README Template + Completeness Checker
Fill in a form and get a Hugging Face model card: a README.md with valid YAML metadata (license, language, datasets, tags, base model, model-index results) and the sections from Mitchell et al. (2019). A live completeness score flags metrics with no dataset, missing limitations and invalid license ids. Copy or download.
MSE, RMSE, MAE, MAPE & R-squared Calculator
Computes MSE, RMSE, MAE, MAPE and R-squared from paired actual and predicted values, with a residual table. For checking a regression or forecasting model's error by hand or against a library.
NDCG Calculator
Compute DCG, IDCG and NDCG@k from the relevance grades of a ranked result list, with linear or exponential gain. Paste a full judged set so the ideal ranking includes relevant documents your system missed.
Neural Network Playground
Train a real neural network in your browser — no code, no installs. Pick a sample dataset (Titanic survival, vehicle classifier, handwritten digits) or upload your own CSV, watch the network learn with live visuals, then ask it questions and export the model as Python/Keras code.
Ollama Command Builder
Build Ollama commands without memorizing syntax: run, pull, and create commands for any model, complete Modelfiles with parameters and system prompts, and server environment configuration — with built-in VRAM checks.
OpenAI API Compatibility Matrix: llama.cpp vs Ollama vs vLLM
Compare OpenAI API compatibility across llama.cpp server, Ollama, vLLM, and the Wide Area AI gateway: chat, embeddings, streaming, function calling, JSON mode, vision, logprobs, auth, and more — with honest caveats for every partial cell.
Perplexity Calculator (from Log-Probs)
Computes the perplexity of a language model on a piece of text from its per-token log-probabilities, along with mean negative log-likelihood, bits per token and each token's surprisal. For anyone evaluating a model from API logprobs or eval output.
Phishing Email Analyzer
Paste a suspicious email and get an instant phishing risk score — checks for spoofed senders, deceptive links, lookalike domains, urgency tactics, and dangerous attachments. 100% private: nothing is uploaded, with an optional in-browser AI explanation.
PII Redactor
Detect and redact personal and sensitive data — emails, SSNs, credit cards, phone numbers, IPs, API keys — from any text or logs before you share them. Runs 100% in your browser; nothing is uploaded.
Precision-Recall Curve & Average Precision Calculator
Paste model scores and 0/1 labels to get the precision-recall curve, Average Precision exactly as scikit-learn computes it, trapezoidal PR AUC, the prevalence baseline and the best-F1 threshold.
Private AI Essay Feedback
Get instant writing stats and private AI feedback on your essay against a rubric — entirely in your browser, with no uploads, no accounts, and no plagiarism-database risk.
Private AI Summarizer
Summarize any text with AI that runs entirely in your browser — paste an article, contract, or report and get bullet points or a TL;DR. Unlike cloud summarizers, your text is never uploaded.
Private AI Translator (In-Browser, Offline)
Translate text between 13 languages with Helsinki-NLP opus-mt models that run entirely in your browser. Nothing is uploaded, and it keeps working offline once a language model has downloaded.
Private Audio Transcriber (Whisper) — In-Browser, No Upload
Transcribe audio to text entirely in your browser with OpenAI's Whisper. Drop a file or record from your mic, pick Tiny or Base, then export TXT, SRT, or VTT — your audio never leaves your device.
Private OCR — Image to Text Converter
Extract text from images and screenshots entirely in your browser. Paste a screenshot or drop image files, pick from 11 languages, and get editable text with per-word confidence highlighting — 100% private, nothing is ever uploaded.
Private Text-to-Speech (In-Browser TTS)
Turn text into natural-sounding speech entirely in your browser. Use instant built-in browser voices, or a high-quality downloadable AI neural voice (Kokoro-82M) — nothing you type ever leaves your device.
Prompt Injection Scanner and Example Library (OWASP LLM01)
Paste text before it reaches your LLM and scan it for prompt injection: instruction overrides, jailbreak personas, system prompt extraction, markdown image exfiltration, tool-call hijacks and hidden Unicode, HTML or base64 text. Each hit is highlighted and explained. Includes 33 example attacks with the defence for each, from the OWASP Top 10 for LLM Applications 2025.
RAG Retriever Eval Calculator: Precision@k, Recall@k, MRR & MAP
Paste the ranked chunks your retriever returned for each test question, marked relevant or not, and get Precision@k, Recall@k, hit rate, MRR and MAP averaged over queries, plus the smallest top-k that still captures the recall.
Self-Hosted LLM Cost Calculator
Is it cheaper to self-host an LLM or use an API? Compare GPT, Claude, and Gemini API costs against running open models on your own hardware or cloud GPUs — with break-even timelines and capacity checks.
Sentiment Analyzer: Score Any Text Sentence by Sentence
Paste a review, email or post and get a VADER sentiment score for every sentence and for the whole text: compound, positive, neutral and negative, with the words that drove each score highlighted. Score a list of reviews one per line and download the results as CSV. Runs in your browser; nothing is uploaded.
Speculative Decoding Speedup Calculator
Estimate the walltime speedup from speculative decoding using the acceptance rate, draft length and draft model cost. Uses Theorem 3.8 from Leviathan, Kalman and Matias (2023) and finds the best number of draft tokens.
Text-to-Speech Cost Calculator
Compare ElevenLabs, OpenAI, Google Cloud, Amazon Polly and Azure text-to-speech costs for your script or monthly character volume. See the cheapest voice tier, cost per audio hour and which ElevenLabs plan covers your usage.
TF-IDF Calculator
Builds a term-by-document TF-IDF weight matrix from pasted documents, with smooth or classic IDF and optional L2 normalisation, plus the top terms for each document. For learning TF-IDF or checking a text-processing pipeline.
Tokenizer Visualizer — See How LLMs Split Text Into Tokens
Paste any text and watch GPT-4 (cl100k_base) or GPT-4o/o1 (o200k_base) split it into colored token chips, with live token/char/word stats, per-model API cost, and a side-by-side tokenizer comparison. Runs entirely in your browser using the real gpt-tokenizer library — nothing is uploaded.
Train/Validation/Test Split Calculator
Turns a row count and split percentages into whole-number train, validation and test sizes, with optional per-class stratified counts and k-fold sizes. For planning a dataset split before you write any code.
Training Steps, Epochs & Gradient Accumulation Calculator
Computes effective batch size, steps per epoch, total optimizer steps, warmup steps and optionally tokens seen for a fine-tuning run. For anyone setting epochs, per-device batch size, gradient accumulation and GPU count.
Voice Command Intent Classifier
Checks an audio file's type and size in your browser. It does not listen to or transcribe the words. No AI model runs; nothing is uploaded.
What LLM Can I Run?
Detect your GPU with one click and see which LLMs your computer can actually run — Llama, Gemma, Qwen, DeepSeek and 50+ more, ranked by whether they fit in your VRAM, need CPU offloading, or won't run at all.