# Render HTML to PDF with RenderPDF.io

Hey guys,

I'm super excited to share with you all about my latest work - [RenderPDF.io](https://renderpdf.io) 😎

We all know that rendering HTML to PDF is not so fun and game.

You have to research a bunch of things, then try out a lot of CSS styling, and even have to install more libraries or deploy new stuff and manage them.

It's definitely time-consuming & hard to maintain, isn't it? But not anymore 🥰.

## What is RenderPDF.io?

[RenderPDF.io](http://RenderPDF.io) provides **developer-friendly APIs** to help people render their PDFs in seconds 🚀.

Just send us the HTML content and we'll respond with the rendered PDF file 🚀. Get rid of the hard & tedious work and focus on your features/delivery ⭐️.

You can find us at:

* Home page: [https://renderpdf.io/](https://renderpdf.io/)
    
* Documentation: [https://docs.renderpdf.io/](https://docs.renderpdf.io/)
    
* Get FREE API Key: [https://renderpdf.io/login](https://renderpdf.io/login) (within a few clicks, I promised 😎)
    

Powered by the **Chromium** engine, enabling us to use any latest CSS styling and give you modern PDF files 🚀.

We have some examples on the home page, check them out 🔥.

### Free Usage

Yes, Free users get **500 PDFs** per month - the highest free usage compared to others out there 😎.

### Examples

#### Integrate with RenderPDF.io using TypeScript

```typescript
import axios from 'axios';

const httpClient = axios.create({
  baseUrl: 'https://renderpdf.io/api'
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
  },
});

export function renderPdf(htmlContent: string): Promise<string> {
  return httpClient.post('/pdfs/render-sync', {
    htmlContent,
    // add more options here if you need
  }).then((res) => res.data.fileUrl));
}

// a "Hello World" PDF ❤️
const pdfUrl = await renderPdf('Hello World');
```

#### Integrate with RenderPDF.io using PHP & Laravel, using HTTP Client Facade

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->asJson()
    ->post('https://renderpdf.io/api/pdfs/render-sync', [
        'htmlContent' => 'Render me a PDF now!!!',
        // add more options here if you need
    ]);

// Your PDF is ready sir :muscle:
$fileUrl = $response->json('fileUrl');
```

## Upcoming Features of RenderPDF.io

Indeed, it is still under elevating process and there will be more and more features upcoming soon to make your life easier 🥰:

* Free PDF templates 👀
    
* Document Template management 😎
    
* Template Editor 🔥
    
* and still thinking more hehe
    

Stays tuned.

## Conclusion

Well, that's it. I hope you will like [RenderPDF.io](https://renderpdf.io) and give it a try, it is totally worth the try ❤️.

Happy weekend and see you all on the next tech talk 😉!
