Getting Started
Try it instantly
Section titled “Try it instantly”No signup required — test our live editors:
- HTML to PDF Editor — Code editor with instant preview
- URL to PDF — Convert any webpage
- URL to Screenshot — Capture any webpage
1. Get your API key
Section titled “1. Get your API key”Get a free API key — 20 credits/month, no credit card required.
2. Generate your first PDF
Section titled “2. Generate your first PDF”curl -X POST https://api.orim.io/pdf/convert \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"html": "<h1>Hello World</h1>"}' \ -o hello.pdfconst response = await fetch('https://api.orim.io/pdf/convert', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ html: '<h1>Hello World</h1>' })});
const pdf = await response.blob();import requests
response = requests.post( 'https://api.orim.io/pdf/convert', headers={'Authorization': 'Bearer YOUR_API_KEY'}, json={'html': '<h1>Hello World</h1>'})
with open('hello.pdf', 'wb') as f: f.write(response.content)using var client = new HttpClient();client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_API_KEY");
var response = await client.PostAsJsonAsync( "https://api.orim.io/pdf/convert", new { html = "<h1>Hello World</h1>" });
var pdf = await response.Content.ReadAsByteArrayAsync();await File.WriteAllBytesAsync("hello.pdf", pdf);3. That’s it!
Section titled “3. That’s it!”You’ll receive a PDF file. Check out the API Reference for all available options.
Try without signup
Section titled “Try without signup”Skip the Authorization header to use sandbox mode. Output will have a watermark.
curl -X POST https://api.orim.io/pdf/convert \ -H "Content-Type: application/json" \ -d '{"html": "<h1>Test</h1>"}' \ -o test.pdfUse with AI (no code)
Section titled “Use with AI (no code)”Skip the API entirely — use our MCP Server with Claude, Cursor, or Windsurf:
- Add Orim to your MCP config
- Ask your AI: “Generate a PDF invoice for…”
- Get a download link
Next steps
Section titled “Next steps”- MCP Server Guide — Use with Claude, Cursor, Windsurf
- PDF Generation Guide — Page sizes, margins, headers/footers
- Tailwind CSS Guide — Style PDFs with Tailwind (auto-injected)
- Screenshots Guide — Capture webpages as images