XHTML to MOBI converter

Source · XHTML
Target · MOBI

Drop XHTML files here

or choose files from your device

Choose files or drop them here (up to 16 MiB each).

Advanced options

Experimental conversion. The result needs independent review.

  • In your browser
  • No upload
  • Private by design

How to convert a document online

  1. Open a converter and choose files of its source format.
  2. Review the format limits and options, then start conversion.
  3. Download the results and check their content and layout.
Browse all document conversions →

What happens when you convert XHTML to MOBI?

Conversion uses Universal Text Conversion Engine (UTCE), with dedicated source readers, internal data models, transformations and target writers.

Reading the source

Semantic headings, paragraphs, lists, tables, embedded raster images and safe links enter the shared document model. Active content and external resources are not executed or fetched.

Structure and transformation

The supported source content is normalized into a shared semantic model and serialized by the target writer. Paragraphs, tables, images, links and metadata survive only where both adapters represent them; target formatting cannot recreate omitted source content.

Writing the target

The in-memory WASM writer creates a reflowable Kindle book from shared EPUB semantics: supported chapters, navigation, raster resources, cover and notes. Selected metadata is written into EXTH; the logical source identifier is separate from the native numeric UID.

XHTML

Source

XHTML

.xhtml / .xht

Storage: XML documentDocument model: HTML vocabulary with XML rules

Semantic headings, paragraphs, lists, tables, embedded raster images and safe links enter the shared document model. Active content and external resources are not executed or fetched.

Explore XHTML format →
MOBI

Target

MOBI

.mobi / .azw / .prc

Storage: Palm record databaseDocument model: Legacy book HTML and resources

The in-memory WASM writer creates a reflowable Kindle book from shared EPUB semantics: supported chapters, navigation, raster resources, cover and notes. Selected metadata is written into EXTH; the logical source identifier is separate from the native numeric UID.

Explore MOBI format →

Is XHTML → MOBI right for you?

Good choice when

  • You need a dual MOBI/KF8 book and can review compatibility on your reader.
  • You can review the source interpretation and the target limitations before using the result.

Probably not when

  • Experimental: AZW3 is KF8-only; MOBI output contains both legacy and KF8 representations. Notes can add a navigation entry. Original CSS/font metrics, pagination and device annotations are not recreated. Older and newer devices can select different representations; physical-device compatibility is not certified.
  • You require exact source layout, every metadata field or unsupported interactive features.

XHTML to MOBI conversion details

Reading the source
Semantic headings, paragraphs, lists, tables, embedded raster images and safe links enter the shared document model. Active content and external resources are not executed or fetched.
Writing the target
The in-memory WASM writer creates a reflowable Kindle book from shared EPUB semantics: supported chapters, navigation, raster resources, cover and notes. Selected metadata is written into EXTH; the logical source identifier is separate from the native numeric UID.
Structure and transformation
The supported source content is normalized into a shared semantic model and serialized by the target writer. Paragraphs, tables, images, links and metadata survive only where both adapters represent them; target formatting cannot recreate omitted source content.
Technical evidence
Provisional acceptance within an experimental profile. Independent review is required; explicit opt-in is required before conversion.
MIME
application/xhtml+xml → application/x-mobipocket-ebook
Adapter scope and specifications
W3C — XHTML 1.0WHATWG — XML syntaxAmazon — Kindle Publishing GuidelinesFoliate.js — MIT MOBI/KF8 readerLibrary of Congress — Mobipocket format assessment and historical sources

Common questions

What can be read from XHTML?

Semantic headings, paragraphs, lists, tables, embedded raster images and safe links enter the shared document model. Active content and external resources are not executed or fetched. XHTML must also be well-formed, namespace-qualified XML. HTML error recovery is not a substitute for valid XHTML input.

What will the MOBI output contain?

The in-memory WASM writer creates a reflowable Kindle book from shared EPUB semantics: supported chapters, navigation, raster resources, cover and notes. Selected metadata is written into EXTH; the logical source identifier is separate from the native numeric UID. Experimental: AZW3 is KF8-only; MOBI output contains both legacy and KF8 representations. Notes can add a navigation entry. Original CSS/font metrics, pagination and device annotations are not recreated. Older and newer devices can select different representations; physical-device compatibility is not certified.

How does XHTML structure change in MOBI?

The supported source content is normalized into a shared semantic model and serialized by the target writer. Paragraphs, tables, images, links and metadata survive only where both adapters represent them; target formatting cannot recreate omitted source content. Retain the original if exact typography, layout or complete metadata matters. Reflow is useful for reuse of supported content, but it is not archival reconstruction.

Will XHTML look identical in MOBI?

XHTML must also be well-formed, namespace-qualified XML. HTML error recovery is not a substitute for valid XHTML input. Retain the original if exact typography, layout or complete metadata matters. Reflow is useful for reuse of supported content, but it is not archival reconstruction. Experimental: AZW3 is KF8-only; MOBI output contains both legacy and KF8 representations. Notes can add a navigation entry. Original CSS/font metrics, pagination and device annotations are not recreated. Older and newer devices can select different representations; physical-device compatibility is not certified.

Can I convert XHTML to MOBI here now?

Convert locally in your browser. Select documents of the same source format, review the options and download the results. Provisional acceptance within an experimental profile. Independent review is required; explicit opt-in is required before conversion.