OnlineAITool
PDF Tools

Text to PDF Converter

Paste text and download it as a real PDF — with a genuine text layer, so it stays searchable and selectable.

Output: PDF with a real text layer
Searchable & selectable

0 words · 0 characters

How to use this tool

  1. Type or paste your text into the box above.
  2. Choose the font, text size, page size and margin. Defaults suit most documents.
  3. Click Create PDF.
  4. Download the file. The text stays selectable and searchable, not flattened to an image.

The common shortcut is to render text to an image and wrap it in a PDF. It looks identical and is useless to anything that has to read it — search, copy-paste, screen readers, applicant tracking systems. This writes real text.

The specification

InputTyped or pasted text
OutputPDF with a genuine text layer
Page sizesA4, Letter, Legal, A5
FontsHelvetica, Times, Courier
ScriptsLatin alphabets. Non-Latin scripts are detected and refused rather than broken
PrivacyRuns in your browser — nothing uploaded

Why uploads get rejected

Meeting the size is only part of it. These are the failures that actually come up:

  • The text contains Hindi, Bengali, Arabic, Chinese, Japanese, Korean, Thai, Hebrew, Greek or Cyrillic characters. The standard PDF fonts cannot encode them, so the tool stops rather than giving you blank boxes.
  • The box is empty — type or paste something first.
  • Extremely long input on a low-memory device. Split it into parts.

How it works

The text is laid out with pdf-lib, which writes genuine text objects into the PDF — each line is stored as characters plus a position, exactly as a word processor would write it. Lines are measured against the page width using the real font metrics and wrapped where they would overflow, and blank lines in your input are preserved as blank lines in the output.

The result has a live text layer: you can select it, search it, copy it, and a screen reader can read it aloud. This is the difference that matters. A common shortcut is to render the text to an image and wrap that image in a PDF — visually identical, and useless to anything that has to read the document.

The standard PDF fonts are WinAnsi-encoded and physically cannot represent Hindi, Bengali, Arabic, Chinese, Japanese, Korean, Thai, Hebrew, Greek or Cyrillic. Rather than silently dropping those characters and handing you a page of blank boxes, the tool detects them and stops with an explanation.

Who uses this

Turning notes, a letter, a declaration, code or a chunk of pasted text into a PDF you can attach, print or archive.

Other names for this tool

People look for this under several different names. If you arrived searching for any of the following, this is the right page — they all describe the same thing:

  • text to pdf converter
  • convert text to pdf
  • txt to pdf
  • write text and save as pdf
  • text to pdf online free
  • plain text to pdf
  • notepad to pdf
  • text file to pdf converter

Frequently asked questions

Will the text be selectable in the PDF?

Yes. Real text is written into the file, so you can select it, search it and copy it out, and a screen reader can read it. Tools that render text to an image produce a file that looks identical and is unreadable to all of those.

Can I convert Hindi, Arabic or Chinese text?

No, and this tool tells you so instead of failing quietly. The standard PDF fonts are WinAnsi-encoded and have no glyphs for those scripts — the output would be blank boxes. For non-Latin scripts, write the document in a word processor with a suitable font and export to PDF from there.

A4 or Letter — which should I pick?

A4 (210 × 297 mm) everywhere except the United States and Canada, which use Letter (8.5 × 11 in). Choosing wrong means margins shift and content reflows when the file is printed, which matters for anything official.

Is there a length limit?

No fixed limit. Pages are added automatically as needed. Very long documents are bounded only by your browser tab's memory.

Are my files uploaded to a server?

No. Everything runs inside your browser on your own device. Your file is never transmitted and never stored by us. You can confirm it by opening your browser's Network tab while you use the tool — you will see no upload request.

Is this really free?

Yes — no account, no trial, no watermark and no cap on usage. It runs on your own device rather than our servers, so there is no cost for us to pass on.

Related tools

From other categories

Your files stay on your device. This tool runs entirely in your browser. No file is uploaded, transmitted, or stored. You can verify this by opening your browser's Network tab while using the tool.

Disclaimer. Specifications published by exam boards, governments and platforms change without notice. We verify and date every specification on this site, but you should always confirm against the official source before submitting an application. See our full disclaimer.