Text to PDF

Paste or open text. Preview and save a PDF.

Free to use · No account needed · Files stay on your device

Text editor

About Text to PDF

Use Text to PDF when the words and line breaks in a note are all you need to share. You can edit the text directly, see how long lines wrap and print a document that readers can search and copy.

How to use this tool

  1. Paste your text or select Open file.
  2. Check line breaks and wrapping in Document preview.
  3. Select Print / Save as PDF, then save to a PDF destination.

Formats, options and limits

Input
Type, paste or open one UTF-8 .txt, .md or .markdown file. The limit is 256 KiB, including pasted text.
Layout
Blank lines and spacing carry through to the preview. Long lines wrap to fit the page.
Output
The browser prints the document with selectable text. Its print dialog shows the final pagination.

Turn a plain note into a document people can search

A shift handover, a meeting agenda or a set of field notes can be easier to distribute as a PDF than as a screenshot. A reader can search for a person’s name, select a sentence or copy an address into another application. Paste the text itself or open a UTF-8 text file. The editor lets you correct a spelling or add a missing line before producing the copy you will share.

Use a blank line to separate topics and put a short title on its own line. Plain-text spacing carries through into the document. If a draft includes Markdown symbols such as a leading # or paired asterisks, those characters will print literally here. Choose Markdown to PDF when they are instructions for formatting.

Separate intentional line breaks from wrapping

A hard line break in a list of addresses can be important. A line break copied from the narrow column of an email may interrupt a sentence for no reason. Read the Document preview and remove those inherited breaks if you want the paragraph to flow across the page. Lines that are simply too long for the available width wrap automatically.

Use the editor preview to check paragraph order and spacing while you edit. Open Print / Save as PDF to inspect the actual page breaks. Browser fonts, paper size, print margins and scaling can affect where the last line of a paragraph lands. If a heading sits alone at the foot of a sheet, adjust the text or print settings and check the result again.

Choose a PDF destination in the print dialog

Once the preview is ready, select Print / Save as PDF and choose the PDF destination offered by your browser or operating system. Check the page count, then name the file so your reader can identify the subject and version. The print layout contains the document. A date, URL or page title added by the print dialog can usually be controlled through its headers and footers setting.

The downloadable field notes illustrate the final step. Their one-page PDF contains selectable English and Chinese text. Open it and search for a phrase, then repeat with the output from your own copy. If you work in several scripts, also inspect the characters visibly to make sure the available fonts cover them.

Open a file or work with a short selection

The browser accepts .txt, .md and .markdown files saved as UTF-8, with a limit of 256 KiB for opened or pasted text. The size is measured in bytes. An assortment of different scripts or emoji can take more bytes than its visible character count suggests. If an older document opens as unreadable text, export a UTF-8 copy from the source editor or paste the readable selection.

To distribute a handout with proper heading levels, a table or a fenced code block, use the Markdown tool. For an exact word or character limit on a plain-text submission, use Word Counter before printing the final copy.

Try a checked example

Open the UTF-8 text file. Select Print / Save as PDF and choose your browser’s PDF destination.

A one-page PDF with selectable text, including the Chinese characters in the source.

Frequently asked questions

Where do I download the PDF?

Select Print / Save as PDF. In the system or browser print dialog, choose the PDF destination and save the file. The destination’s name varies by browser.

Will the PDF have searchable text?

Yes. The print layout contains text that can be selected and copied. In a Chromium export, all 130 numbered lines from a multilingual note were recovered from the three-page PDF.

How can I see where pages break?

Open Print / Save as PDF and inspect the pages in the browser’s print preview. The editor preview shows wrapping, while the final page count depends on print settings and available fonts.

Can I use a Markdown file here?

Yes. This page prints the source literally, including # and **. To turn those markers into headings and bold text, open the file in Markdown to PDF.

Why did my file fail to open?

Use a nonempty UTF-8 text file with a .txt, .md or .markdown extension. If it exceeds 256 KiB, paste a shorter passage. For a file saved in another encoding, save a UTF-8 copy first.

Will the page’s controls appear on my PDF?

Markovo’s print layout includes only the document. If the preview adds a date, URL or page title, check the browser’s headers and footers setting.

Where is my text processed?

The preview is built in this browser, and the browser’s print dialog creates the PDF. Pasting a note and printing it do not submit the text to Markovo’s document converter.

Format headings and tables with Markdown to PDF