Stack Trace Formatter in Your Browser
Clean up messy stack traces without leaving your browser. Paste an error trace from any language and get a formatted, readable output that highlights your application code and collapses framework internals.
How to Format a Stack Trace
- Paste the raw stack trace from your console, logs or error tracker
- The tool auto-detects the programming language
- Application code frames are highlighted in bold
- Framework and library frames are collapsed by default
- Click any frame to expand details or copy the formatted output
Common Use Cases
- Cleaning up stack traces before posting to GitHub issues
- Formatting error output for team Slack channels
- Analyzing crashes from production error monitoring dashboards
- Comparing stack traces from different environments
Frequently Asked Questions
- Can I customize which frames are collapsed?
- Yes. You can define custom patterns for framework and library paths that should be collapsed. By default, common paths like node_modules, vendor, and standard library frames are hidden.
- Does this support minified JavaScript traces?
- The tool formats the stack trace as provided. For minified traces, you would need to apply a source map first. The formatted output will show the minified file names and line numbers.
100% Private & Secure
This tool runs entirely in your browser. Your files and data never leave your device.