# TXT to PDF

> Create a searchable PDF from plain text.

[Open tool](https://www.toolcabana.com/mt/txt-to-pdf) · [PDF u dokumenti](https://www.toolcabana.com/mt/category/pdf-and-documents)

Tool ID: txt-to-pdf. Requested language: mt. Description language: en. Complete guide translation: no; untranslated sections use English.

## Overview (en)

TXT to PDF turns pasted plain text into a PDF with wrapped lines and selectable text. You can set the font size from 8 to 40, choose A4 or US Letter in portrait or landscape, and adjust the page margin and line spacing. Text is set in Noto Sans, up to 300,000 characters and 500 pages.

## Supported tasks (en)

Create a searchable PDF from plain text.

## Steps (en)

1. Paste the source into the input editor, or load the built-in example.
2. Adjust the basic settings, then open Advanced mode for export and fine-tuning options. Custom settings stay active when the panel is closed.
3. Run txt to pdf, review the output, then use the available copy or download controls.

## Settings

- Font size (en; key: size; type: number); minimum: 8; maximum: 40
- Page size (en; key: pageSize; type: select): A4 [en], US Letter [en]
- Page orientation (en; key: orientation; type: select): Portrait [en], Landscape [en]
- Page margin (points) (en; key: margin; type: number); minimum: 12; maximum: 144
- Line spacing multiplier (en; key: lineSpacing; type: number); minimum: 1; maximum: 3

## Limitations (en)

PDF input is bounded to 20 MB per file. Page rendering is capped at 200 selected pages; page-edit output is bounded to 500 pages.

## Example input

```text
A clearer way to work

ToolCabana makes everyday tasks a little lighter.
```

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### Why does TXT to PDF say the font does not cover some characters?

The PDF uses the Noto Sans font, which does not include every writing system. If your text contains characters outside its set, such as some scripts or symbols, the tool stops with this error instead of creating the PDF.

### How do I fit more text on each PDF page?

Lower the font size, reduce the line spacing toward 1, or shrink the page margin, which can go down to 12 points. Landscape orientation also gives longer lines on each page.

### How are tabs and long lines handled in the text PDF?

Tabs are converted to four spaces, and lines longer than the page width wrap automatically within the margins. New pages are added as the text fills each page.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

PDF input is bounded to 20 MB per file. Page rendering is capped at 200 selected pages; page-edit output is bounded to 500 pages.

## Related tools

- [Scan to PDF](https://www.toolcabana.com/mt/scan-to-pdf)
- [Extract PDF text](https://www.toolcabana.com/mt/pdf-to-text)
