Skip to main content
Participant
Mar 7, 2022 8:48 AM UTC
Answered

Conversion of pdf extract json back to pdf

The PDF extract API extracts info of different elements from a pdf an forms a JSON for it.

 

Is there a reverse API available, which accepts the JSON in the same format as extracted above and creates a PDF using it?

 

I am trying to replace the original text with a different text here. If not, how to create a pdf from the JSON available.

    Raymond Camden
    Raymond CamdenCorrect answer
    Community Manager
    Jul 8, 2024 1:45 PM UTC

    Did you read what Joel said above?

    7 replies

    Participating Frequently
    Aug 11, 2025 11:33 AM UTC

    Did you found any answer for this?

    Translate
    Joel Geraci
    Community Expert
    Community Expert
    Aug 12, 2025 2:56 PM UTC

    The answer is that you can't.  The JSON alone does not contain any page layout directives.

    Translate
    Participating Frequently
    Aug 19, 2025 6:38 AM UTC

    Ok, Do it possible to using the API "Extract Text and Tables and Character Bounding Boxes (w/ Renditions)". It will provide the stuctured JSON Then modify the text into this json and create back the pdf. 
    Do this JSON contains the full style and format information?

    Translate
    Joel Geraci
    Community Expert
    Community Expert
    Mar 7, 2022 3:50 PM UTC

    At this time, we do not convert from JSON to PDF. JSON alone does not contain any page layout directives so we really can't. 

    Translate
    Participant
    Jul 7, 2024 4:38 AM UTC

     is th api available now ? its been 2 years.

    Translate
    Raymond Camden
    Community Manager
    Raymond CamdenCommunity ManagerCorrect answer
    Community Manager
    Jul 8, 2024 1:45 PM UTC

    Did you read what Joel said above?

    Translate