Categories

Rich Text JSON to PDF

Convert TipTap, Quill, or Slate JSON exports into a styled PDF document

Convert rich text editor JSON exports to PDF.

Supported editors: TipTap, Quill, Slate
Input: paste JSON or upload a JSON file
Output: printable PDF with clean typography

Example Results

1 examples

Richtext JSON

TipTap JSON rendered to PDF

richtext-json-to-pdf-example1.pdf View File
View input parameters
{ "jsonContent": "{\"type\":\"doc\",\"content\":[{\"type\":\"heading\",\"attrs\":{\"level\":2},\"content\":[{\"type\":\"text\",\"text\":\"Release Update\"}]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Generated sample.\"}]}]}", "editorType": "tiptap", "documentTitle": "TipTap Sample" }

Click to upload file or drag and drop file here

Maximum file size: 5MB Supported formats: application/json, text/plain

Key Facts

Category
Document Tools
Input Types
textarea, file, select, text, number, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Convert rich text editor JSON exports to PDF. **Supported editors:** TipTap, Quill, Slate **Input:** paste JSON or upload a JSON file **Output:** printable PDF with clean typography

When to Use

  • Use it when you need to convert json, pdf content quickly in the browser.
  • Helpful for document tools workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide Rich Text JSON, JSON File, Editor Type, Document Title as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as json, pdf test files to verify edge cases and output quality.

Use Cases

Convert json, pdf data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

json, pdf, text

Related Hubs

FAQ

What does Rich Text JSON to PDF do?

Rich Text JSON to PDF helps you convert json, pdf content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick convert workflow, want to verify output, or need a browser-based utility for document tools tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does Rich Text JSON to PDF accept?

Rich Text JSON to PDF accepts Rich Text JSON, JSON File, Editor Type, Document Title and supports file uploads for 1 field.

Is there an API for Rich Text JSON to PDF?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

API Documentation

Request Endpoint

POST /en/api/tools/richtext-json-to-pdf

Request Parameters

Parameter Name Type Required Description
jsonContent textarea No -
jsonFile file (Upload required) No -
editorType select No -
documentTitle text No -
baseFontSize number No -
pageSize select No -
landscape checkbox No -
printBackground checkbox No -
marginTop number No -
marginBottom number No -
marginLeft number No -
marginRight number No -
waitUntil select No -
waitTime number No -

File type parameters need to be uploaded first via POST /upload/richtext-json-to-pdf to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-richtext-json-to-pdf": {
      "name": "richtext-json-to-pdf",
      "description": "Convert TipTap, Quill, or Slate JSON exports into a styled PDF document",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=richtext-json-to-pdf",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]