AI IDE Rules (.cursorrules) Generator
Create optimized .cursorrules and .clinerules files for Cursor, Windsurf, and Cline.
Start typing to search tools...
High-precision online stopwatch with nanosecond accuracy. Lap times, split times, and copy results.
Keyboard: Space Start/Stop · L Lap · R Reset
| # | Lap Time | Split (Total) |
|---|
A nanosecond timer is a high-precision stopwatch that measures
elapsed time with sub-millisecond accuracy. This tool uses the browser's
Performance API (performance.now()), which provides timestamps accurate to 5 microseconds (5,000 nanoseconds)
in most modern browsers - far more precise than the standard
Date.now()
which only has millisecond resolution.
The display shows time broken down into hours, minutes, seconds, milliseconds, and microseconds. While browsers intentionally limit precision to prevent timing-based security attacks (Spectre/Meltdown), the available precision is more than sufficient for benchmarking code execution, measuring reaction times, timing experiments, and performance testing.
The lap feature records both the individual lap duration and the cumulative split time at each lap. In Full Screen mode, the tool expands to fill your entire display, providing a high-visibility interface ideal for presentations or laboratory environments. The table automatically manages its height in full screen, ensuring the timer remains perfectly centered.
Customize your experience with the Light/Dark Mode toggle. Whether you prefer a focused dark interface or a clean light workspace, the tool adapts instantly while maintaining high contrast for the nanosecond-precision numbers.
Use keyboard shortcuts for hands-free operation: Space to start/stop, L to record a lap, and R to reset.
| Browser | Precision | Notes |
|---|---|---|
| Chrome / Edge | ~5 μs (5,000 ns) | Best precision available in browsers |
| Firefox | ~1 ms (1,000,000 ns) | Reduced by default for security |
| Safari | ~1 ms (1,000,000 ns) | Reduced for privacy protection |
| Node.js | ~1 ns | Use process.hrtime.bigint() for true nanoseconds |
The timer uses the browser's Performance API (performance.now()), which provides sub-millisecond precision — typically accurate to 5 microseconds (5,000 nanoseconds) in most browsers. True nanosecond hardware precision requires OS-level access, but this is the highest precision available in a web browser.
A lap time shows the duration of each individual interval (time since the last lap). A split time shows the total elapsed time at the moment you pressed the lap button. Both are recorded simultaneously for each lap.
Space bar: Start/Stop the timer. L key: Record a lap. R key: Reset the timer. These shortcuts work when the timer area is focused.
Yes. Click "Copy Results" to copy all lap times and the total elapsed time to your clipboard in a formatted text table.
Browsers intentionally reduce timer precision to mitigate Spectre/Meltdown timing attacks. Firefox reduces precision to 1ms by default; Chrome provides ~5μs precision. For true nanosecond measurements, use system-level tools like perf (Linux) or Windows Performance Toolkit.
performance.now() is a Web API that returns a high-resolution timestamp in milliseconds (with fractional microseconds) relative to the page load time. It's more precise than Date.now() and is not affected by system clock adjustments.
Create optimized .cursorrules and .clinerules files for Cursor, Windsurf, and Cline.
Convert text to beautiful ASCII text art banners instantly. Customize fonts, characters, spacing, and generate code comment blocks with 100% privacy.
Encode and decode Base64 online. Supports text and files. Free, fast, and private.
Open dozens of URLs in separate tabs with one click. Supports delay between tabs, deduplication, domain grouping, CSV/TXT import, and export. Free, no sign-up.