Skip to main content

Convert Visio

ConvertConvert Visio

The Convert Visio API converts Visio files to PDF, JPG, PNG, or TIFF. You send the Visio as Base64 (docContent), docName, OutputFormat (PDF/JPG/PNG/TIFF), IsPdfCompliant, PageIndex, PageCount, IncludeHiddenPages, SaveForegroundPage, SaveToolBar, AutoFit, and IsAsync. The API returns the converted file (or 202 + Location for async). Use the tester below to try it; more details are in the sections that follow.

Try the Convert Visio API

:::note Quick reference Endpoint: POST /api/v2/ConvertVisio · Required: api-key, docContent, docName, OutputFormat, IsPdfCompliant, PageIndex, PageCount, IncludeHiddenPages, SaveForegroundPage, SaveToolBar, AutoFit, IsAsync :::

:::info Try it live Use the form below to send your API key and Visio file (Base64). Set output format, page range, and options; the response is the converted file (or polling URL when async). No code required—fill the fields and click Send request. :::

Loading API Tester...

Overview, parameters, and use cases

What is Convert Visio?

This endpoint converts Visio files (.vsdx, .vsd, .vsdm) to PDF, JPG, PNG, or TIFF. You provide the Visio (Base64), docName, OutputFormat (PDF, JPG, PNG, TIFF), IsPdfCompliant, PageIndex (0-based start), PageCount, IncludeHiddenPages, SaveForegroundPage, SaveToolBar, AutoFit, and IsAsync. The API returns the converted file or a Location URL for async.

Key features

  • Output formats – PDF, JPG, PNG, TIFF.
  • Page selectionPageIndex (start), PageCount (number of pages).
  • Options – Include hidden pages, foreground, toolbar, auto-fit.
  • AsyncIsAsync returns 202 with Location URL for polling.

:::tip Best for Use when you need PDF or images from Visio diagrams. For general document conversion use Convert to PDF. :::

Prerequisites

Before using this endpoint, make sure you have:

  • A valid PDF4me API key (Get your API Key)
  • A Visio file (.vsdx, .vsd, .vsdm) in Base64 format

Response Format

The API returns the converted file in the requested format:

  • Status 200: Visio conversion completed immediately - binary file content in response body
  • Status 202: Request accepted and processing asynchronously - use the Location header URL to poll for results

For asynchronous requests, poll the Location URL until status 200 is returned with the converted file.

Get Help