# Kitbag > Small, fast utilities for people and agents. Free, keyless, rate-limited per IP. ## MCP - Endpoint: https://kitbag.cleartrust.cc/mcp (streamable HTTP, stateless, no auth) - generate_password: Generate cryptographically random passwords. Returns the passwords with their entropy in bits. - generate_key: Generate cryptographic keys and ids: random secrets, JWT signing keys (HS256/384/512 secrets, or RS/ES/EdDSA key pairs as PEM and JWK), API keys, AES keys, TOTP secrets, UUIDs (v4, v7), and RSA, EC or Ed25519 key pairs. - doc_to_pdf: Convert a Word or text document (.doc, .docx, .odt, .rtf, .txt, up to 25 MB) to PDF. Returns a download link valid for 15 minutes. - pdf_to_doc: Convert a PDF (up to 25 MB) to an editable Word .docx file. Returns a download link valid for 15 minutes. Scanned PDFs are not OCRed. - check_page_speed: Run a full Lighthouse audit on a public URL. Returns performance, accessibility, best-practices and SEO scores, Core Web Vitals, page weight by resource type, third-party cost and every failed audit with its estimated saving. Takes 15 to 60 seconds. - hash_text: Hash text with MD5, SHA-1, SHA-256, SHA-384 or SHA-512, or compute an HMAC when hmac_key is given. algorithm "all" returns every digest. - bcrypt: Create a bcrypt hash of a password (rounds 4-12, default 10), or check a password against an existing hash by passing hash. - encode_decode: Encode or decode text as Base64, Base64URL, URL (percent) encoding, HTML entities, hex, or a JSON string literal (json: escape text into a quoted JSON string, or unescape one). - convert_data: Validate, format or convert structured data between JSON, YAML and CSV. Same from and to formats and validates; indent 0 minifies JSON. - decode_jwt: Decode a JWT into header and payload with readable issue and expiry times. Pass key (HMAC secret, PEM public key or public JWK) to also verify the signature. - test_regex: Run a JavaScript regular expression against text. Returns every match with index and capture groups, and the replaced text when replacement is given. - explain_cron: Explain a five-field cron expression (or @daily style macro) in plain English and list its next run times in UTC. - convert_timestamp: Convert a Unix timestamp (seconds, milliseconds, microseconds or nanoseconds) or a date string into Unix, ISO 8601 and RFC 2822 forms. Empty value means now. - diff_text: Compare two texts line by line. Returns a unified diff with counts of added and removed lines. - url_to_markdown: Fetch a public web page and return its main content as clean Markdown (or plain text), with title, byline and word count. Does not run JavaScript. - screenshot_url: Take a screenshot of a public web page in a real browser. Returns a download link to a PNG or JPEG valid for 15 minutes. - dns_lookup: Look up DNS records for a domain: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA, or one type. - whois_lookup: Domain registration details: registrar, creation and expiry dates, status, nameservers and DNSSEC, from RDAP with WHOIS as fallback. - ssl_certificate: Inspect the TLS certificate a host serves: trust, expiry and days remaining, issuer, covered names, protocol, cipher and chain. - http_headers: Follow a URL through its redirect chain and return each hop with status and timing, the final response headers and a security-header check. - inspect_meta: Inspect a page's title, meta description, canonical, robots, Open Graph and Twitter tags, hreflang and JSON-LD structured data, with a list of what to fix. - check_robots_txt: Fetch and validate a site's robots.txt: groups, sitemaps, syntax errors, and whether search and AI crawlers (Googlebot, GPTBot, ClaudeBot, PerplexityBot…) are allowed. Optionally test one path for one user agent. - check_ads_txt: Fetch and validate a publisher's ads.txt or app-ads.txt against the IAB spec: record counts, DIRECT vs RESELLER, ad systems, invalid lines, duplicates and OWNERDOMAIN/MANAGERDOMAIN. - check_sitemap: Validate an XML sitemap or sitemap index: entry count, size limits, URL and lastmod format, duplicates. Give a sitemap URL, or a domain to find it via robots.txt. - check_email_dns: Check a domain's email authentication: MX, SPF (syntax, DNS-lookup count, all qualifier), DKIM (given selector or common ones) and DMARC policy. - check_links: Find broken links on a web page: checks up to 100 links and reports broken ones, redirects and links that refuse automated checks. ## REST - GET https://kitbag.cleartrust.cc/api/password?length=20&count=1&symbols=true&exclude_ambiguous=false → JSON - GET https://kitbag.cleartrust.cc/api/key?type=secret|jwt|api_key|aes|totp|uuid|rsa|ec|ed25519 → JSON. Options: count, bytes, encoding (hex|base64|base64url), alg (HS256…EdDSA, for jwt), bits, curve (P-256|P-384|P-521), version (4|7), prefix, length. Secrets return keys[]; key pairs return PEM and JWK. - POST https://kitbag.cleartrust.cc/api/convert?to=pdf&name=file.docx (raw file body) → PDF bytes - POST https://kitbag.cleartrust.cc/api/convert?to=docx&name=file.pdf (raw file body) → DOCX bytes - POST https://kitbag.cleartrust.cc/api/convert?to=pdf&url=https://… → converts a file that is already online - Add link=1 to any conversion for JSON {download_url} instead of bytes - GET https://kitbag.cleartrust.cc/api/pagespeed?url=example.com&strategy=mobile|desktop → JSON Lighthouse summary (15–60 s) - GET or POST(JSON) https://kitbag.cleartrust.cc/api/hash (text, algorithm, hmac_key, encoding): Hash text with MD5, SHA-1, SHA-256, SHA-384 or SHA-512, or compute an HMAC when hmac_key is given. algorithm "all" returns every digest. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/bcrypt (password, rounds, hash): Create a bcrypt hash of a password (rounds 4-12, default 10), or check a password against an existing hash by passing hash. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/encode (text, format, action): Encode or decode text as Base64, Base64URL, URL (percent) encoding, HTML entities, hex, or a JSON string literal (json: escape text into a quoted JSON string, or unescape one). - GET or POST(JSON) https://kitbag.cleartrust.cc/api/data (text, from, to, indent): Validate, format or convert structured data between JSON, YAML and CSV. Same from and to formats and validates; indent 0 minifies JSON. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/jwt (token, key): Decode a JWT into header and payload with readable issue and expiry times. Pass key (HMAC secret, PEM public key or public JWK) to also verify the signature. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/regex (pattern, flags, text, replacement): Run a JavaScript regular expression against text. Returns every match with index and capture groups, and the replaced text when replacement is given. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/cron (expression, count): Explain a five-field cron expression (or @daily style macro) in plain English and list its next run times in UTC. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/timestamp (value, timezone): Convert a Unix timestamp (seconds, milliseconds, microseconds or nanoseconds) or a date string into Unix, ISO 8601 and RFC 2822 forms. Empty value means now. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/diff (a, b): Compare two texts line by line. Returns a unified diff with counts of added and removed lines. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/markdown (url, format, mode): Fetch a public web page and return its main content as clean Markdown (or plain text), with title, byline and word count. Does not run JavaScript. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/screenshot (url, width, height, full_page, format): Take a screenshot of a public web page in a real browser. Returns a download link to a PNG or JPEG valid for 15 minutes. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/dns (domain, type): Look up DNS records for a domain: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA, or one type. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/whois (domain): Domain registration details: registrar, creation and expiry dates, status, nameservers and DNSSEC, from RDAP with WHOIS as fallback. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/ssl (host, port): Inspect the TLS certificate a host serves: trust, expiry and days remaining, issuer, covered names, protocol, cipher and chain. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/headers (url): Follow a URL through its redirect chain and return each hop with status and timing, the final response headers and a security-header check. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/meta (url): Inspect a page's title, meta description, canonical, robots, Open Graph and Twitter tags, hreflang and JSON-LD structured data, with a list of what to fix. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/robots (domain, path, user_agent): Fetch and validate a site's robots.txt: groups, sitemaps, syntax errors, and whether search and AI crawlers (Googlebot, GPTBot, ClaudeBot, PerplexityBot…) are allowed. Optionally test one path for one user agent. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/adstxt (domain, type): Fetch and validate a publisher's ads.txt or app-ads.txt against the IAB spec: record counts, DIRECT vs RESELLER, ad systems, invalid lines, duplicates and OWNERDOMAIN/MANAGERDOMAIN. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/sitemap (url): Validate an XML sitemap or sitemap index: entry count, size limits, URL and lastmod format, duplicates. Give a sitemap URL, or a domain to find it via robots.txt. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/email-auth (domain, selector): Check a domain's email authentication: MX, SPF (syntax, DNS-lookup count, all qualifier), DKIM (given selector or common ones) and DMARC policy. - GET or POST(JSON) https://kitbag.cleartrust.cc/api/links (url, limit): Find broken links on a web page: checks up to 100 links and reports broken ones, redirects and links that refuse automated checks. - Spec: https://kitbag.cleartrust.cc/openapi.json ## Pages - [Strong Password Generator](https://kitbag.cleartrust.cc/password-generator): Random passwords made in your browser. Nothing is sent or stored. - [Key Generator](https://kitbag.cleartrust.cc/key-generator): JWT secrets and key pairs, API keys, AES keys, TOTP secrets, UUIDs, RSA, EC and Ed25519. Made in your browser. - [Convert Word to PDF](https://kitbag.cleartrust.cc/doc-to-pdf): Turn .doc, .docx, .odt, .rtf or .txt into a PDF. Files are deleted right after conversion. - [Convert PDF to Word](https://kitbag.cleartrust.cc/pdf-to-doc): Turn a PDF into an editable .docx. Text PDFs work best; scans are not OCRed. - [Page Speed Test](https://kitbag.cleartrust.cc/page-speed): A full Lighthouse audit: scores, Core Web Vitals, page weight and every fix worth making. - [JWT Decoder and Verifier](https://kitbag.cleartrust.cc/jwt-decoder): Read a token's header and claims and check its signature. Decoded in your browser. - [Hash Generator: MD5, SHA-256, HMAC, bcrypt](https://kitbag.cleartrust.cc/hash-generator): MD5, SHA-1, SHA-256, SHA-384, SHA-512, HMAC and bcrypt. Computed in your browser. - [Base64, URL, HTML, Hex and JSON Encoder and Decoder](https://kitbag.cleartrust.cc/encode-decode): Encode or decode Base64, Base64URL, URL encoding, HTML entities, hex and JSON strings. Runs in your browser. - [JSON Formatter, Validator and Converter](https://kitbag.cleartrust.cc/json-formatter): Format and validate JSON, or convert between JSON, YAML and CSV. - [Regex Tester](https://kitbag.cleartrust.cc/regex-tester): Test a JavaScript regular expression: matches, capture groups and replacement. - [Cron Expression Explainer](https://kitbag.cleartrust.cc/cron-explainer): Turn a cron expression into plain English and see when it runs next. - [Unix Timestamp Converter](https://kitbag.cleartrust.cc/timestamp-converter): Convert Unix time to dates and back, in any timezone. - [Text Diff Checker](https://kitbag.cleartrust.cc/text-diff): Compare two texts line by line. Nothing leaves your browser. - [URL to Markdown Converter](https://kitbag.cleartrust.cc/url-to-markdown): Turn any web page into clean Markdown or plain text, ready for an LLM. - [Website Screenshot Tool](https://kitbag.cleartrust.cc/website-screenshot): Capture any public page in a real browser, at any width or full length. - [HTTP Header and Redirect Checker](https://kitbag.cleartrust.cc/http-headers): Follow every redirect, see each response header and what security headers are missing. - [Meta Tag, Open Graph and Structured Data Checker](https://kitbag.cleartrust.cc/meta-tag-checker): Check a page's title, description, Open Graph, Twitter cards and JSON-LD, with what to fix. - [Broken Link Checker](https://kitbag.cleartrust.cc/broken-link-checker): Find dead links on a page: every link fetched, broken and redirected ones listed. - [robots.txt Checker and AI Crawler Test](https://kitbag.cleartrust.cc/robots-txt-checker): Validate robots.txt and see which search and AI crawlers are blocked. - [ads.txt and app-ads.txt Validator](https://kitbag.cleartrust.cc/ads-txt-checker): Validate ads.txt against the IAB spec: sellers, DIRECT vs RESELLER, invalid lines, OWNERDOMAIN. - [XML Sitemap Validator](https://kitbag.cleartrust.cc/sitemap-checker): Validate a sitemap or sitemap index: URL count, limits, bad URLs and dates. - [DNS Lookup](https://kitbag.cleartrust.cc/dns-lookup): A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records for any domain. - [WHOIS Domain Lookup](https://kitbag.cleartrust.cc/whois-lookup): Who registered a domain, when it was created and when it expires. - [SSL Certificate Checker](https://kitbag.cleartrust.cc/ssl-checker): Check a site's certificate: trusted or not, days left, issuer, names covered and chain. - [SPF, DKIM and DMARC Checker](https://kitbag.cleartrust.cc/email-dns-checker): Check a domain's email authentication records and what would make mail land in spam.