Text to PDF Converter (TXT to PDF)
Turn a Notepad .txt file or pasted text into a PDF with Korean text intact. Older Korean ANSI (EUC-KR/CP949) files are detected automatically, and everything runs in your browser with no upload.
Loading the tool…
User reviews
No reviews yet. If you’ve used this tool, be the first to leave one.
Text to PDF Converter (TXT to PDF): complete guide
Walk through the steps and examples, or jump straight to the topic you need.
At a glance
- Input
- One .txt file (up to 2 MB) or pasted text, up to 200,000 characters. You can edit a file’s text in the box too.
- Encoding
- Detected in the order BOM (UTF-8, UTF-16) → UTF-8 → EUC-KR (CP949). Files saved as ANSI in older Korean Notepad keep their Korean text.
- Line breaks
- Original lines and blank lines are kept, and tabs become four spaces. Only lines wider than the paper are broken, measured with the font’s real widths.
- Settings
- Paper A4, B5 (182×257 mm) or Letter, font size 9–16 pt (11 pt to start), margins narrow 12.7 mm, normal 20 mm or wide 30 mm, and page numbers on or off.
- Font
- Noto Sans KR with 2,350 Hangul syllables plus Latin letters, digits and common symbols. Chinese characters, Japanese, emoji and rare Hangul come out blank in the PDF.
- Privacy
- Your file and text aren’t sent to a server; they’re turned into a PDF in this browser only.
How to use Text to PDF Converter (TXT to PDF)
Add your text
Drag a .txt file in or press Choose files. You can also paste text copied from Notepad straight into the box.
Check that the text isn’t garbled
After you add a file, the tool shows which encoding it used. If the text looks garbled, press UTF-8, EUC-KR or UTF-16 to read it again.
Choose the paper and font size
Choose the paper, margins, font size and page numbers. Changing a setting clears the PDF made earlier so you create it again.
Create and download the PDF
Press Create PDF to see the page, line and character counts and a page-by-page preview. The line breaks match the PDF, so check them and press Download PDF. The file is named after the original, ending in .pdf.
What it’s good for
Old Korean Notepad files without garbled text
Korean Windows Notepad used to save files as ANSI (CP949). Reading such a file as UTF-8 only turns the Korean text into gibberish. This tool detects the encoding in the order BOM → UTF-8 → EUC-KR (CP949), tells you which one it used, and lets you pick one yourself and read the file again if the text still looks wrong.
The line breaks you see are the ones in the PDF
Original lines and blank lines are kept, and only lines wider than the paper are broken, measured with the font’s real widths. Hangul breaks by character and Latin text by word where possible. The preview draws the exact layout used to build the PDF, so you can see where lines break before you download.
Characters missing from the PDF font are listed first
The PDF font covers 2,350 Hangul syllables plus Latin letters, digits and common symbols. If the text has Chinese characters, Japanese, emoji or rare Hangul, they are listed before the PDF is created, and if you create it anyway those spots are left blank.
Worked examples
A file saved as ANSI in old Korean Notepad
memo.txt saved as ANSI
Bytes BE C8 B3 E7 C7 CF BC BC BF E4 (Korean for “hello”)Detected as EUC-KR (CP949, Korean Notepad ANSI)
The Korean greeting shows correctlyText with many long lines
A4 · 11 pt · normal margins
30 lines of 100 Hangul charactersBroken into 90 lines of up to 47 characters
44 lines per page · 3 pagesText with Chinese characters and emoji
大韓民國 ABC 😀5 characters missing from the PDF font: 大 韓 民 國 😀
Create anyway leaves them blankHow much fits on a page (normal margins)
Swipe the table sideways to see the rest.
| Setting | Lines per page | Hangul characters per line |
|---|---|---|
| A4 · 11 pt | 44 lines | 47 |
| A4 · 9 pt | 54 lines | 58 |
| B5 · 11 pt | 37 lines | 39 |
When the result isn’t what you expected
Characters show up as � or gibberish
The encoding was guessed wrong. Under Garbled text? Change the encoding, press EUC-KR or UTF-16 to read the file again. Reading again replaces your edits in the box with the file’s text.
"The file is over 2MB."
Files up to 2 MB and 200,000 characters are accepted. Split the text into two or three files, convert each one and join them with Merge PDF.
Some characters are blank in the PDF
They are Chinese characters, Japanese, emoji or rare Hangul that the font doesn’t have. Check the list shown before creating the PDF and replace them with other characters.
Key terms
- Encoding
- The rule for writing characters as bytes. The same bytes read with a different rule turn into the wrong characters.
- ANSI (CP949)
- The format Korean Windows Notepad used to save in by default. It is EUC-KR with extra characters.
- BOM
- Marker bytes at the very start of a file that say it is UTF-8 or UTF-16.
Text to PDF Converter (TXT to PDF) FAQ
Will a .txt saved in Notepad come out garbled in the PDF?
The file’s encoding is detected automatically, so both UTF-8 files and older Korean ANSI (EUC-KR, CP949) files keep their Korean text. If the detection looks wrong, choose an encoding and read the file again.
Is my file uploaded to a server?
No. Reading the file and creating the PDF both happen inside this browser.
Can I copy or search the text in the PDF?
Yes. The text goes into the PDF as real text, not an image, so PDF viewers can copy and search it.
Can I change the line spacing or the font?
The font is Noto Sans KR, which keeps Korean intact, and the line spacing is fixed at 1.5 times the font size.