RaajPDF

Text / Markdown to PDF

Convert TXT, Markdown, code and other text files to PDF.

In short

Open Text / Markdown to PDF, add one or more .txt, .md, code or log files, choose the page size, orientation and font, and convert. Markdown headings, lists, links and tables are formatted; plain text is laid out as written. For Urdu, Arabic or Lisan ud-Dawat, choose a matching font such as Kanz al-Marjaan or Al-Kanz. Raaj PDF does it free in your browser.

How to use Text / Markdown to PDF

  1. Open Text / Markdown to PDF and click Select files, or drop your files on the page. Accepted: TXT, MD, MARKDOWN, HTML, HTM, XML, JSON, CSV, LOG, JS, TS, PY, JAVA, C, CPP, CS, CSS, SQL, YAML, YML, INI.
  2. Choose the options: Page size (A3, A4, A5, Letter, Legal, Tabloid); Orientation (Portrait, Landscape); Font (upload your own to use it in the PDF).
  3. Click Text / Markdown to PDF, then Download (or Download all as a ZIP).
  4. To keep working on the result, click Continue with another tool: the file is passed along without downloading it first.

Step-by-step guides with tips and common mistakes: How to convert a text or Markdown file to PDF · Lisan ud-Dawat PDFs in Al-Kanz and Kanz al-Marjaan fonts

Questions

Can I convert a CSV to a PDF table?

A CSV opens as text here; for a proper table, use Excel to PDF, which reads CSV files as spreadsheets.

Do images in my Markdown appear?

Images linked from the internet may not load in the browser conversion; for documents with pictures, Word to PDF or exporting from your editor works better.

Is Text / Markdown to PDF free?

Yes. Raaj PDF is free to use with no sign-up.

Is my file uploaded?

It runs entirely in your browser, so your file is never uploaded to a server.

Does it work on a phone?

Yes. Raaj PDF works in the browser on phones, tablets and computers; very large files are limited by the device's memory.

Related tools