ReaderLM-v2: generating Markdown and JSON from HTML
HTML extraction into Markdown and JSON, with published document metrics, long-context memory costs and separate weight/API licensing.
Updated:
ReaderLM-v2: generating Markdown and JSON from HTML
ReaderLM-v2 converts HTML into Markdown or schema-guided JSON for search, indexing and retrieval. It removes navigation and page noise while representing headings, tables and requested fields as text. The Qwen-derived extractor belongs to Jina’s Elastic portfolio. ReaderLM-v2 model card ReaderLM-v2 Hub metadata
Extraction before search or question answering
The model generates a document representation rather than search vectors or answers to general questions. Markdown preserves readable page structure; schema-guided JSON extracts requested fields. For a product page, the relevant distinctions include current versus old price, currency, units and navigation text. A downstream embedding model can index the extracted content, while an answer model uses it as source material. ReaderLM-v2 model card
The paper reports a multilingual web corpus with 3.3% German. Its launch examples use English, Japanese and Chinese; a separate German extraction score is not published. German text is represented in training, while the available performance figures aggregate languages. ReaderLM-v2 technical paper v1 ReaderLM-v2 paper Figure 2(b), language distribution ReaderLM-v2 launch article
What the extraction scores measure
The paper evaluates 500 Markdown and 300 JSON documents. Its final-model tables report Markdown ROUGE-L 0.86, JSON F1 0.81 and JSON format pass-rate 0.99. The model card gives Markdown ROUGE-L 0.84 and JSON pass-rate 0.98; it is unclear which downloadable revision corresponds to each result. The paper also separates SFT and DPO stages. ReaderLM-v2 technical paper v1 ReaderLM-v2 model card
These metrics answer different questions: text overlap, field accuracy and valid output syntax. A valid JSON object can still contain an incorrect price or date, and text overlap can miss damaged table relationships. The scores therefore describe extraction behaviour rather than general conversational quality.
Long input requires more than weight storage
Training reached 256,000 tokens before extrapolation to 512,000. The card describes 512K total input plus output, while the configuration and tokenizer specify 512,768 positions. Generated Markdown or JSON consumes part of the same budget as the HTML. ReaderLM-v2 model configuration ReaderLM-v2 tokenizer configuration ReaderLM-v2 technical paper v1
The Safetensors file is roughly 3.09 GB. That is weight storage, with runtime state, attention and sequence length adding memory. The cited sources give no minimum VRAM requirement for a 512K workload. The current Safetensors file was repaired after the ONNX export upload; numerical equivalence of those exports is unresolved. ReaderLM-v2 artifact tree ReaderLM-v2 public commit history
ReaderLM processes text without executing page JavaScript. Its Markdown and JSON outputs represent the supplied HTML; content produced only by browser-side scripts is outside that input. ReaderLM-v2 actual tokenizer data ReaderLM-v2 tokenizer configuration
Non-commercial weights or a separately licensed service
ReaderLM-v2 weights use CC BY-NC 4.0. Its Qwen base uses Apache-2.0, but the derivative has its own non-commercial terms. Jina’s current FAQ offers commercial self-managed deployment through Jina On-Prem, separately from hosted Reader API usage. Purchasing API tokens does not grant commercial local-weight rights. Creative Commons BY-NC 4.0 legal code Qwen2.5-1.5B-Instruct actual Apache-2.0 licence file Jina current commercial and Elastic FAQ
Jina’s research history includes Berlin; it is now an Elastic brand. Hosted processing follows the chosen service’s terms, while self-hosting gives the operator control of infrastructure. Contract-specific regions, price and SLA are not specified in the cited material. Jina ownership history
The service documentation contains a version-selection mismatch: the historical model card uses x-engine for readerlm-v2, the current Reader FAQ uses x-respond-with, and the service README uses x-engine for fetching engines. The documented interface therefore depends on the service version. Current Jina Reader product documentation Reader service README
Original sources
- ReaderLM-v2 model cardhuggingface.co
- ReaderLM-v2 model configurationhuggingface.co
- ReaderLM-v2 tokenizer configurationhuggingface.co
- ReaderLM-v2 generation defaultshuggingface.co
- ReaderLM-v2 actual tokenizer datahuggingface.co
- ReaderLM-v2 Hub metadatahuggingface.co
- ReaderLM-v2 artifact treehuggingface.co
- ReaderLM-v2 public commit historyhuggingface.co
- ReaderLM-v2 launch articlejina.ai
- ReaderLM-v2 technical paper v1arxiv.org
- ReaderLM-v2 paper submission historyarxiv.org
- ReaderLM-v2 paper Figure 2(b), language distributionarxiv.org
- CC BY-NC 4.0 – full English legal codecreativecommons.org
- Jina legal informationjina.ai
- Jina acquisition announcement datejina.ai
- Jina current ownership and commercial FAQjina.ai
- Current Jina Reader product documentationjina.ai
- Reader service READMEgithub.com
- Qwen2.5-1.5B-Instruct upstream cardhuggingface.co
- Qwen2.5-1.5B-Instruct upstream confighuggingface.co
- Qwen2.5-1.5B-Instruct actual Apache-2.0 licence filehuggingface.co
- Elastic acquisition of Jina AI announcementir.elastic.co

