Quick Start
HeronTool offers a suite of parsing tools for structured data like JSON, URLs, JWTs, etc. Visit the site and select the tool from the toolbar.
Step-by-Step
- Parse JSON: Open JSON Validator (JSON 校验), paste JSON, click "Validate" to auto-check formatting and highlight errors.
- Extract Data: Use Regex Extract (正则提取) to input text and regex for real-time matches; or JSONPath (JSONPath 提取) to extract values from JSON using paths like
$.store.book[0].title. - Decode & Convert: JWT Decoder (JWT 解析) decodes JWT tokens into Header, Payload, and Signature; URL Parser (URL 解析) breaks down URLs; User-Agent Parser (UA 解析) extracts browser/OS details.
- Utilities: Use Regex Tester (正则测试) to debug patterns; Equation Solver (方程求解) for math expressions, which can complement extracted data.
FAQ
Q1: Regex not matching? Debug with Regex Tester, check escapes and pattern syntax.
Q2: JSONPath returns empty? Verify path starts with $, uses dot notation, and key names are case-sensitive.
Q3: JWT decode fails? Ensure token has three segments separated by dots and uses Base64URL encoding.
Q4: Large files? You can paste directly, but for huge texts consider chunking.
Conclusion
HeronTool parsing tools cover validation, extraction, and transformation with intuitive UI, no install needed. Combining them boosts text-processing efficiency.