(registered 2026-11-17, updated 2026-11-17) Media type name: application Media subtype name: prs.ktb+zip Required parameters: N/A Optional parameters: N/A Encoding considerations: binary Security considerations: The format contains html which can contain embedded javascript, the applications that implement it should ignore embedded javascript and only parse html and css. The format does not use privacy or integrity services by itself internally, because documents can contain private information, ensuring the privacy and security of the documents is the responsibility of the implementing applications and end users. It inherits all security considerations of JSON and ZIP archives. Implementing apps should use robust json parsers and guard against malicious attacks like zip bombs and path traversal attacks. The document may contain html hyperlinks, it is the apps responsibility to make accidental opening of the links less common like using ctrl + left mouse click to enter the link, showing a confirmation dialog, or both, and it is the end user's responsibility to not enter malicious links. Interoperability considerations: Interoperability is limited to applications that implement support for this specific archive structure. Software must be able of decompressing a standard ZIP and parsing the internal HTML content (A subset of HTML 4 https://doc.qt.io/qt-6/richtext-html-subset.html) and custom JSON metadata files. Published specification: https://github.com/abdulrahman-103/Kitab Applications which use this media: The "Kitab" word processor uses .ktb files where it is a ZIP containing an HTML file for pages content and a JSON file for document metadata such as page size and margins. https://github.com/abdulrahman-103/Kitab Fragment identifier considerations: Fragment identifiers are not used or defined for this file format. Restrictions on usage: There are no restrictions. Additional information: 1. Deprecated alias names for this type: N/A 2. Magic number(s): 50 4B 03 04 3. File extension(s): .ktb 4. Macintosh file type code: N/A 5. Object Identifiers: N/A 6. Windows clipboard name: Kitab Document 7. MacOS Uniform Type Identifier: org.kitab.document Person to contact for further information: 1. Name: Abdulrahman Waleed 2. Email: abdulrahman103&proton.me Intended usage: LIMITED USE This file format is for the Kitab word processor and it is currently the only app and word processor that uses this file extension. Author/Change controller: Abdulrahman Waleed, abdulrahman103&proton.me