{
  "slug": "rtf-to-markdown",
  "name": "gizza-ai/rtf-to-markdown",
  "version": "0.1.0",
  "title": "RTF to Markdown Converter — gizza.ai",
  "description": "Convert raw RTF source to clean Markdown with headings, lists, links, tables, bold, italic, underline, and Unicode escapes preserved in-browser.",
  "tags": [
    "rtf to markdown",
    "rich text to markdown",
    "convert rtf",
    "rtf parser",
    "markdown converter",
    "word to markdown",
    "paste rtf",
    "plain text"
  ],
  "category": "documents",
  "urls": {
    "page": "https://gizza.ai/tools/rtf-to-markdown/",
    "markdown": "https://gizza.ai/tools/rtf-to-markdown/index.md",
    "descriptor": "https://gizza.ai/tools/rtf-to-markdown/tool.json",
    "deep_link_example": "https://gizza.ai/tools/rtf-to-markdown/?rtf=%7B%5Crtf1%5Cansi%7B%5Cpard%5Coutlinelevel0%20Project%20notes%5Cpar%7DThis%20is%20%5Cb%20bold%5Cb0%20%20and%20%5Ci%20italic%5Ci0%20%20text.%5Cpar%7D&headings=auto&tables=markdown&underline=html&links=true&escape_markdown=true"
  },
  "cli": "gizza tool rtf-to-markdown '{\\rtf1\\ansi{\\pard\\outlinelevel0 Project notes\\par}This is \\b bold\\b0  and \\i italic\\i0  text.\\par}'",
  "tool": {
    "description": "Convert pasted Rich Text Format (RTF) source into clean Markdown or tab-separated plain text. Preserves Markdown-expressible structure: bold, italic, strikethrough, underlines as HTML, superscript/subscript, headings from outline/style metadata, bullet and numbered lists, hyperlinks, Unicode escapes, and simple tables. Options control heading detection, table rendering, underline handling, hyperlink conversion, and Markdown escaping. The input must be raw RTF text beginning with {\\rtf.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "escape_markdown": {
          "default": true,
          "description": "When true (default), literal Markdown punctuation in the RTF text is backslash-escaped so it renders as text. When false, punctuation is passed through.",
          "type": "boolean"
        },
        "headings": {
          "default": "auto",
          "description": "How to handle heading styles: 'auto' (default) detects outline levels and stylesheet names such as heading 1; 'off' renders every paragraph as body text.",
          "enum": [
            "auto",
            "off"
          ],
          "type": "string"
        },
        "links": {
          "default": true,
          "description": "When true (default), RTF HYPERLINK fields become Markdown links. When false, only the visible link text is kept.",
          "type": "boolean"
        },
        "rtf": {
          "description": "The RTF document source to convert. Paste text that begins with an RTF header such as {\\rtf1\\ansi ...}.",
          "type": "string"
        },
        "tables": {
          "default": "markdown",
          "description": "How to render RTF tables: 'markdown' (default) emits GitHub pipe tables; 'text' emits tab-separated rows.",
          "enum": [
            "markdown",
            "text"
          ],
          "type": "string"
        },
        "underline": {
          "default": "html",
          "description": "How to handle underlined text: 'html' (default) wraps runs in <u>...</u>; 'ignore' keeps the text without underline markup.",
          "enum": [
            "html",
            "ignore"
          ],
          "type": "string"
        }
      },
      "required": [
        "rtf"
      ],
      "type": "object"
    }
  }
}