Convert MD to WEBP

Turn MD files into WEBP files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with headings, lists, tables, code and embedded images.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MD files on the dialor turn it to pick what to do

Markdown pages as WebP images.Each page of your Markdown becomes one WebP picture.

  1. What you get

    A typeset version of your Markdown, drawn page by page. Headings, lists, tables, code and embedded images all appear on the page. Text is set in Libertinus Serif, and code is set in DejaVu Sans Mono.

    Each page becomes its own WebP, so a long document gives you several files. Pages are A4 at 150 dpi and quality 90 unless you choose otherwise.

  2. Page size and sharpness

    Page size is A4 by default. Set Page size to Letter for 8.5 × 11 in pages, or to Auto to let each page take the size of its own content.

    Set Resolution (dpi) between 36 and 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

  3. Quality and text edges

    Quality runs from 1 to 100 and defaults to 90. Above 90 the file grows quickly while the picture barely changes.

    Turn on Lossless to keep text edges exact. The result is identical to the input in pixels, and much bigger than a lossy one.

  4. Size and page limits

    Set Width (px) for an exact width, from 1 to 16383. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. WebP holds at most 16383 pixels a side, so width stops there.

    Set Pages to convert only some pages, such as 1-3,7. Every page is read when it is left out. To change a WebP afterward, try resize WEBP.

MD and WEBP.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4
  4. 04 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  5. 05 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  6. 06 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 16383

The formats

From · MD

Markdown

Plain text with light markup for headings, lists, links and code. What agents and developers write in.

Extensions
.md .markdown .mdown
MIME type
text/markdown
Kind
Text and data
To · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

In your code.The same MD to WEBP conversion through the API, for your app or your agent.

terminal
$ cv convert report.md report/ --to webp
$ cv convert report.md report/ --to webp

Questions.What people ask about MD to WEBP.

01OF 04

Not always. Each page becomes one WebP, so a document that runs over several pages gives you several files.

Yes. Set Page size to Letter. A4 is the default.

Turn on Lossless. It is much bigger than a lossy result.

Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.

More conversions.Other ways in and out of MD and WEBP.