Convert to PDF/Image API
  1. PDF
Convert to PDF/Image API
  • Getting Started
  • PDF
    • Convert a web page URL to PDF
      POST
    • Convert HTML content to PDF
      POST
    • Convert a document to PDF
      POST
    • Compress a PDF file
      POST
    • Merge multiple PDF files into one
      POST
    • Split a PDF file
      POST
    • Convert PDF to images
      POST
    • Remove metadata from PDF
      POST
    • Convert PDF to DOCX
      POST
  • Image
    • Capture a web page as an image
      POST
    • Convert images to PDF
      POST
    • Compress image
      POST
  • Schemas
    • Schemas
      • ErrorResponse
      • PdfUrlRequest
      • PdfHtmlRequest
      • PdfDocRequest
      • PdfCompressRequest
      • PdfMergeRequest
      • PdfSplitRequest
      • ImageUrlRequest
      • PdfRemoveMetadataRequest
      • ImageToPdfRequest
      • PdfToDocRequest
      • PdfToImageRequest
      • ImageCompressRequest
  1. PDF

Remove metadata from PDF

POST
/v1/pdf/remove-metadata
Removes all metadata from a PDF file including keywords, creator, producer, creation date, and modification date. Returns a clean PDF file without any embedded metadata.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Body Params multipart/form-dataRequired

Responses

🟢200OK
application/pdf
PDF file with all metadata removed
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.convert2pdfapi.com/v1/pdf/remove-metadata' \
--header 'x-api-key: <api-key>' \
--form 'pdfFile=@""' \
--form 'fileName="cleaned_document"'
Response Response Example
400 - No file provided
{
    "status": "error",
    "message": "PDF file is required"
}
Modified at 2025-10-24 10:11:35
Previous
Convert PDF to images
Next
Convert PDF to DOCX
Built with