.htaccess Validator - Online Check Syntax
Paste your .htaccess rules and check for common syntax errors or misconfigurations. No server required; static analysis.
UD5 Toolkit
Inspect HTTP cache headers, validate conditional requests, and audit cache strategies
Sending request...
If-None-Match) to ask servers: "Has this resource changed since I last fetched it?" If not, the server returns 304 Not Modified, saving bandwidth. ETags can be strong (exact byte match) or weak (prefixed with W/, indicating semantic equivalence).If-Modified-Since for conditional requests. Unlike ETags (which detect any content change), Last-Modified is time-based and has 1-second resolution — if a resource changes twice within the same second, Last-Modified may not catch it. ETags are more precise. Best practice: use both for maximum cache efficiency and compatibility."abc123") guarantees byte-for-byte identical content. A weak ETag (e.g., W/"abc123") indicates the content is semantically equivalent but may differ in non-essential ways (like different compression or minor formatting). Weak ETags are useful for dynamic content where exact byte matching is impractical. For static assets (JS, CSS, images), strong ETags are preferred for precise cache validation.304 Not Modified response means the client's cached version is still fresh — the server tells the browser "your copy is still good, use it." This response has no body, saving significant bandwidth (especially for large resources). It's triggered when a conditional request header (If-None-Match or If-Modified-Since) matches the current server state. Proper 304 handling is essential for efficient web caching strategies.max-age=N — Cache for N seconds from request times-maxage=N — Like max-age but for shared/CDN caches onlypublic — Can be cached by any cache (browser, CDN, proxy)private — Only for the end user's browser, not shared cachesno-cache — Must revalidate with server before each useno-store — Do not cache at all (use for sensitive data)must-revalidate — Must check with server after expirationimmutable — Content will never change (great for versioned assets)304 responses on repeat visits. For automated testing, tools like curl -I -H "If-None-Match: <etag>" let you manually send conditional requests. A well-configured server should return 304 when the ETag matches and 200 with new content when it doesn't.Cache-Control: public, max-age=31536000, immutable (1 year). These files never change, so the browser can skip revalidation entirely. For unversioned assets: use Cache-Control: public, max-age=86400 with both ETag and Last-Modified for revalidation. Always combine with a CDN for optimal global delivery.curl -I for unrestricted header inspection.Paste your .htaccess rules and check for common syntax errors or misconfigurations. No server required; static analysis.
Paste JSON-LD and validate basic syntax and required properties for Article, Product, etc. Local only. Instant feedback.
Enter a UPC or EAN barcode number and validate the check digit. See if it's a real product code. Local calculation.
Drop a WAV file and see its full header: sample rate, bit depth, channels, and chunk structure. Raw bytes explained.
Enter a URL and fetch its Twitter card meta tags. See a live preview of how the tweet will appear. Debug social sharing.
Paste JavaScript and catch syntax errors instantly with line numbers. Lightweight pre‑commit check. Local.
Paste HTML and detect unclosed tags, invalid nesting, and duplicate IDs. Lightweight client‑side validation.
Validate a language tag like en‑US or zh‑Hans against the IANA registry. Ensure correct HTML lang attribute.
Check if the current page can be loaded offline by examining the service worker cache. Developer tool for PWAs.
Scroll a container and see how sticky elements behave. Adjust top, bottom, and scroll margins. Copy the code.
Enter a URL and a user‑agent to see if it is allowed or blocked by the robots.txt file. Quick bot validation.
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Validate a DNSSEC chain by entering DS and RRSIG records. Verify that signatures match. Educational. Local algorithm.
Paste the Permissions‑Policy header and get a human‑readable table of allowed/blocked browser features. Understand how your site is restricted.
Fetch a site’s HSTS header and validate its syntax, max‑age, and subdomain flags. Ensure your site enforce HTTPS.
Paste a Content‑Security‑Policy header and get a human‑readable breakdown. See potential risks and suggestions.
Paste any DNS record and check if its format is valid for the selected record type (A, AAAA, CNAME, MX, TXT, SRV). Prevents typos.
Paste your SQL query and check for basic syntax errors. Highlights missing commas, wrong keywords. Local analysis.
Paste a Bitcoin, Ethereum, or other crypto wallet address and quickly verify its format and checksum. No connection to blockchain.
Check and beautify your TOML config files. Highlights errors and aligns tables and arrays. Safe local parsing.
Validate YAML syntax with line‑by‑line error messages. Also format messy YAML into clean, indented output. All in your browser.
Validate ISBN‑10 and ISBN‑13 numbers and compute their check digits. Useful for booksellers and libraries. All local.
Check if an IBAN has the correct length and structure for its country. Early validation, no bank connection.
Paste a test card number to verify Luhn algorithm, identify issuer (Visa, MC), and check length. No real data.
Validate if a version string follows SemVer 2.0.0. Also sort and compare versions. Developer tool.
Paste Markdown and get warnings for common mistakes: inconsistent heading spacing, bare URLs, and broken links. All local.
Paste a robots.txt file and validate its syntax. See if a specific user‑agent can access a path. Essential for webmasters.
Paste a string and verify if it is valid Base64. Auto‑detects padding issues and character errors. Quick dev check.
Paste a list of numbers to visually check uniformity, mean, and simple pattern analysis. Educational tool for statistics and RNG.
Easily format, validate, and beautify XML documents. Minify XML data with a single click. All processing happens locally in your browser for maximum privacy.