A better way to create PDF documents for your web app

Rotativa.io is a cloud app that lets you create and serve PDF documents to your users in a fast, reliable, secure and private way. Design your PDFs with our visual template editor using the powerful Liquid templating language, or use our easy HTTP API with the libraries available for ASP.NET, .NET Core and Azure Functions, ASP.NET Core 6, ASP.NET 8 and Blazor. Now also able to output PDF/A documents.

Endpoints in Europe, North America and Australia.

machine

Create PDFs with Visual Templates

Design professional PDF documents using our intuitive template editor. With Liquid templating, live preview, and built-in validation, creating dynamic PDFs has never been easier. Choose from starter templates for invoices, reports, tables, and more.

  • ✓ Visual editor with live preview
  • ✓ Powerful Liquid templating language
  • ✓ Test with sample JSON data
  • ✓ Built-in syntax validation
  • ✓ Serve directly from our cloud or your server/app
Rotativa.io Templates Feature Demo

▶️ Watch the Templates Feature Walkthrough

easy

Easy

No need to install anything or to get stuck in issues with access rights or hosting restrictions. Use hosted templates or ready to use libraries available to create PDF with one line of code or with a simple HTTP JSON call

powerful

Powerful

Enjoy the performance and reliability of the best cloud computation power available. Choose a endpoint in Europe, US or Australia and serve PDF to your users directly from our service.

control

Control

Check your PDF activity in real time with our modern dashboard. Monitor your usage and browse through logs.

How it Works

Rotativa.io is based on powerful and reliable cloud technologies. Your server request to create a PDF will be processed by our distributed infrastructure and the resulting file will be served directly to your user in a secure and private way.

Learn More
how it works

1.5 seconds

average response time

50%

pdf served in less than 1 second

90%

pdf served in less than 2.5 seconds

Serve your PDF from Asp.Net with our Nuget package or with a simple HTTP call from any platform

Our HTTP API is simple to use and we also have ready made solutions for your environment. With our .Net and .Net Core Nuget packages you can build beautiful PDF leveraging the capabilities of your tooling. In addition you will achieve better performance because communication to Rotativa.io will be managed for maximum efficiency.

Learn More

<!-- For a button to get PDF of current page/post -->
[rotativa-generate-pdf label="Download the complete report"]
<!-- For a button to get PDF of a different page/post -->
[rotativa-generate-pdf id="534" label="Download the complete report"]


    $rhq = new Htm2PdfApi(< YOUR ENDPOINT >, < YOUR APIKEY >);

    $rhq->SetFilename('my-report.pdf');

    $html = file_get_contents('../pdf/report1.html');

    $rhq->DisplayPDF($html);


    public ActionResult MyAction()
    {
        var model = DB.GetMyData(id);
        return new ViewAsPdf(model)
        {
            FileName = "MyPdfFile.pdf"
        };
    }

   
    public IActionResult MyAction()
    {
        var model = DB.GetMyData(id);
        return new ViewAsPdf(model)
        {
            FileName = "MyPdfFile.pdf"
        };
    }


curl -L https://eunorth.rotativa.io \
    --fail --silent --show-error \
    --header "X-ApiKey:<YOUR_APIKEY_HERE>" \
    --data '{
              "html": "<html><body>Hello world!</body></html>"
    }' > test.pdf


    var pdf = PdfHelper.GetPdf(
        "~/Views/Home/Simple.cshtml", 
        model: mymodel);
    // or
    var pdf = PdfHelper.GetPdfUrl(
        "~/Views/Home/Simple.cshtml", 
        model: mymodel, 
        filename: "simple.pdf");

Contact Us

Feel free to contact us by writing to info@rotativa.io for details and requests and get updated by following us on twitter @RotativaHQ