firecrawl-parse
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefirecrawl parse
firecrawl parse
Turn a local document into clean markdown on disk. Supports PDF, DOCX, DOC, ODT, RTF, XLSX, XLS, HTML/HTM.
将本地文档转换为磁盘上的整洁Markdown格式。支持PDF、DOCX、DOC、ODT、RTF、XLSX、XLS、HTML/HTM格式。
Quick start
快速开始
Always save to with — parsed docs can be hundreds of KB and blow up context if streamed to stdout. Add to .
.firecrawl/-o.firecrawl/.gitignorebash
mkdir -p .firecrawl始终使用参数将结果保存到目录中——解析后的文档可能有数百KB大小,如果输出到标准输出会占用大量上下文空间。请将添加到文件中。
-o.firecrawl/.firecrawl/.gitignorebash
mkdir -p .firecrawlFile → markdown
File → markdown
firecrawl parse ./paper.pdf -o .firecrawl/paper.md
firecrawl parse ./paper.pdf -o .firecrawl/paper.md
AI summary
AI summary
firecrawl parse ./paper.pdf -S -o .firecrawl/paper-summary.md
firecrawl parse ./paper.pdf -S -o .firecrawl/paper-summary.md
Ask a question about the doc
Ask a question about the doc
firecrawl parse ./paper.pdf -Q "What are the main conclusions?"
-o .firecrawl/paper-qa.md
-o .firecrawl/paper-qa.md
Then read the output incrementally with `head`, `grep`, or `rg`.
Run `firecrawl parse --help` for the full option list.
**Done when:** the markdown, summary, or answer is written under `.firecrawl/` and you have inspected it with bounded reads.firecrawl parse ./paper.pdf -Q "What are the main conclusions?"
-o .firecrawl/paper-qa.md
-o .firecrawl/paper-qa.md
之后可以使用`head`、`grep`或`rg`命令增量读取输出内容。
运行`firecrawl parse --help`查看完整选项列表。
**完成标志:** Markdown文件、摘要或问答结果已写入`.firecrawl/`目录,且你已通过有限读取方式检查过内容。Tips
小贴士
- Quote paths with spaces: .
firecrawl parse "./My Doc.pdf" -o .firecrawl/mydoc.md - Max upload size: 50 MB per file.
- Credits: ~1 per PDF page; HTML is 1 flat.
- Check before re-parsing the same file.
.firecrawl/ - To check your credit balance (recommended for batch processing and similar workflows), use (requires authentication).
firecrawl credit-usage
- 对包含空格的路径添加引号:。
firecrawl parse "./My Doc.pdf" -o .firecrawl/mydoc.md - 最大上传大小:每个文件50 MB。
- 积分消耗:每PDF页面约1积分;HTML文件固定消耗1积分。
- 重新解析同一文件前,请先检查目录中是否已有结果。
.firecrawl/ - 如需查看积分余额(建议在批量处理等场景中使用),请运行(需要身份验证)。
firecrawl credit-usage
See also
另请参阅
- firecrawl-scrape — same idea for URLs
- firecrawl-scrape — 针对URL的同类工具