Free Text to PDF Converter
Convert plain text, code, or HTML files directly into PDF documents.
Sometimes you just need a clean PDF from a text file, some notes, a snippet of code or an HTML page. This tool turns your content into a PDF in a few seconds, right in your browser.
You can pick a layout and design template, adjust basic formatting and preview the pages before you download.
How to use Text to PDF
- Upload a .txt, .md, .html, .json, .js or .css file, or type your text into the box.
- Choose a layout: Presentation, Original File or Auto Design with four templates.
- Adjust the font size, alignment and colors if you want to, and check the preview.
- Click Download PDF to save your file.
Why use Text to PDF
- Four design templates for notes, documents and reports.
- Works with plain text, code and HTML files.
- PDFs open on any phone, tablet or computer.
- No account, no watermark.
- Turns typed text into a document you can send anywhere.
- Tidy and formal — better than a photo of handwriting for applications.
Which layout should you choose?
Auto Design applies one of four templates, with your choice of font size, color, alignment and line spacing. Original File keeps text in a plain monospace style, which suits code, and for an HTML file it keeps your own design. Presentation splits your text into sections wherever there is a blank line and shows each one as a numbered block under a title.
What to know about the PDF
The tool draws your page and places it into the PDF as pictures. The result looks the same everywhere, but the text in the PDF cannot be selected, copied or searched. If you need selectable text, print the page to PDF from your browser or word processor instead.
Markdown files are accepted, but they are shown as plain text rather than converted into headings and lists. Very long documents can take a little longer to create.
Everyday documents people make this way
The most common uses are short formal documents: a job application, a leave letter, a permission request, or notes that need to look tidy. Type or paste the text, give it a clear heading, and download a PDF that prints the same on every computer.
Write the document the way you would on paper — the date at the top, your name and details at the end — and read it once before downloading. A PDF is not as easy to edit as plain text, so the extra minute is worth it.
Tips for best results
- Use the preview to check how the page looks before you download.
- For HTML files, choose Original File to keep your own design.
- Use Presentation when you want your paragraphs to appear as separate numbered sections.
- Keep your original text file as the editable copy.
Frequently asked questions
Which files can I convert?
You can type or paste text, or upload .txt, .md, .html, .htm, .json, .js and .css files.
Can I change how the PDF looks?
Yes. Choose a layout, pick one of four design templates, and adjust the font size, alignment, color and line spacing. Check the preview before you download.
Can I select or copy the text in the PDF?
No. The pages are saved as pictures, so the text cannot be selected or searched. Use your browser's print to PDF option if you need selectable text.
Is my text uploaded to a server?
No. The PDF is created in your browser and your text is not sent to us.
Can I use this for a job application letter?
Yes — that is one of its main uses. Type the application, check names and dates carefully, then download the PDF and attach it to your email or print it for submission.
Is this tool free?
Yes — create as many PDFs from text as you need, free, with no account.
Can I use this tool on mobile?
Yes. Paste or type text on your phone, choose a layout and download the PDF.
See also
Related tools
JPG to PDF
Combine one or more images into a single PDF file.
Image Compressor
Reduce image file size while keeping great quality.
Image Resizer
Resize images to exact dimensions in seconds.
Looking for something else? Browse all PixelTools.