
Convert to PDF
Convert to PDF is a REST API tool that accepts a wide range of file types as input and reliably converts each into a standardized PDF document. It's designed to provide developers with robust, high-quality document conversion capabilities, ensuring seamless integration and consistent, compliant PDF output for diverse applications.
Key Benefits of Convert to PDF API
- Support robust format conversion for Word, Excel, PowerPoint, images (JPEG, TIF, BMP, PNG), Email (.eml), PostScript, HTML, Markdown, plain text, JSON, XML, and CSV.
- Generate standardized PDF documents optimized with high-quality Adobe® PDF Library™ technology, ensuring consistent and reliable compliance with PDF ISO 32000 specifications.
- Create tagged PDF output from supported Office and structured-text input to support accessible document workflows and downstream processing.
- Fine-tune file size, image quality, and page presentation with controls for compression, downsampling, page size, margins, orientation, HTML web layouts, and profiles for PostScript conversion.
- Generate styled PDFs from structured text with format-specific options for fonts, colors, headings, tables, JSON and XML views, and Markdown images.
- Streamline content-standardization workflows by converting diverse source files into a consistent PDF format for sharing, review, and downstream processing.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
Seamlessly Convert Office, Image, Email, HTML, and Structured Text Files
pdfRest's Convert to PDF API accepts a broad range of input formats and converts each submitted file into a professional PDF document. A single REST API endpoint provides a consistent conversion workflow across supported document, image, email, web, and structured-text formats.
Supported input formats include:
- Office documents: Word (.doc, .docx), Excel (.xls, .xlsx), and PowerPoint (.ppt, .pptx)
- Image files: JPEG (.jpg, .jpeg), TIF (.tif, .tiff), BMP (.bmp), and PNG (.png)
- Email messages: Email (.eml)
- Print formats: PostScript (.ps) and Encapsulated PostScript (.eps)
- Web content: HTML (.html), including web pages from URLs
- Structured content: Markdown (.md, .markdown), plain text (.txt), JSON (.json), XML (.xml), and CSV (.csv)
Whether an application is processing business documents, converting web content, or generating reports from structured data, developers can use the same Convert to PDF endpoint and a consistent request pattern for each file they process.
Generate High-Quality, ISO-Compliant PDFs for Professional Workflows
Not all PDFs are created equal. Inconsistent conversion can lead to rendering differences, compatibility issues, and long-term archival risks.
With pdfRest's Convert to PDF Tool, files are optimized using high-quality Adobe® PDF Library™ technology to provide consistent and reliable compliance with the PDF ISO 32000 specifications. This supports PDFs that are structurally sound and suitable for:
- Long-term archiving: Preserve documents in a standardized format for retention and future access.
- Consistent rendering: Maintain a dependable viewing experience across devices and PDF software.
- Workflow interoperability: Exchange documents reliably between systems, applications, and business processes.
- Standardized delivery: Produce consistent PDF output from varied source formats and content types.
By producing dependable, standards-based PDF output, pdfRest helps organizations reduce conversion risk and maintain a consistent document experience across systems, devices, and long-term retention workflows.
Fine-Tune Your PDF Output with Customizable Conversion Parameters
The Convert to PDF API gives developers control over the final PDF output for a range of conversion and PDF generation workflows. Parameters can be selected according to the input format and the intended use of the resulting document.
Available options include:
- Create tagged PDFs from supported Office and structured-text input.
- Control compression and downsampling to optimize file size and image quality.
- Set page size, margins, and orientation for HTML and structured-text conversions.
- Customize HTML output with desktop, tablet, or mobile web layouts.
- Apply structured-text styling with fonts, text sizes, colors, headings, code blocks, tables, borders, fills, padding, and alternating row colors.
- Choose JSON and XML presentation as source text or readable hierarchy views, and map Markdown images to uploaded files or existing resource IDs.
These controls let developers tailor conversion results to their application requirements while keeping document processing within a single, consistent API workflow. See our documentation for full details on the available parameters.
Need more help?
Start with a Tutorial for step-by-step guidance
Learn about the parameters for this tool to create your custom solution.
Compatible with Microsoft Office and structured-text conversion.
The tagged_pdf parameter controls whether supported input files produce tagged PDF output. Set the value to on to enable tagged output or off to disable it.
For Markdown, plain text, JSON, XML, and CSV input, tagged PDF output is enabled by default. Use structured_text_options.enable_tagging when you need to control tagging inside the structured-text configuration. When both parameters are supplied, structured_text_options.enable_tagging takes precedence.
Tagging adds logical document structure that can improve accessibility and downstream processing. Tagged output alone does not guarantee conformance with a specific accessibility standard.
Safe & Secure
Confidently process your sensitive data with pdfRest. Our platform is built for robust, Enterprise-grade security and compliance. We meet rigorous standards for GDPR and HIPAA, and our controls are independently audited to ensure strict SOC 2 Type 2 compliance. Your data's protection is our commitment.




