Turn source code files into clean, readable PDFs. Upload your file, customize language highlighting, line numbers, and layout, then download your PDF.
or click to browse from your computer
Up to 200 KB · Processed privately
Fast, clean conversion. Your document is processed securely.
Open 24 built-in tools from your browser sidebar, use quick actions from the right-click menu, and reach every RizCraft tool without hunting through tabs.
Firefox and Edge versions are coming next. Free to install
Export source code to PDF with syntax highlighting and optional line numbers. Upload a PHP, Python, JavaScript, TypeScript, C#, Java, C, C++, Go, Rust, Ruby, SQL, HTML, CSS, JSON, or shell file, pick layout options, and download a readable listing for reviews, coursework, or documentation.
Language is detected from the file extension, and you can override it in the toolbar. For rendered Markdown documents use Markdown to PDF. To write or paste prose with a rich-text toolbar, use Text to PDF.
Drop a supported code file into the upload area. Limits are 200 KB and 2,000 lines. Processing stays on your device.
Keep the auto-detected language or choose another. Set paper size, orientation, margins, font size, color or mono style, and line numbers.
Click Convert to PDF to generate a searchable, print-ready listing. The converter does not reformat or compile your code.
Use landscape or a smaller font for long lines. Line numbers follow original source lines, even when a line wraps on the page.
Comments, keywords, strings, and other tokens use language-aware colors. Switch to mono for economical printing. Turn line numbers off if you only need the code. Changing the language dropdown never edits the file — it only changes highlighting.
Convert .php, .py, .js, .ts, .cs,
.java, .c, .cpp, .go, .rs,
.rb, .sql, .sh, HTML, XML, CSS, JSON, and plain text. Wide listings
wrap to the page width; landscape orientation gives more room for long lines.
Your file is converted in the browser. RizCraft does not store, log, or inspect source code or the generated PDF. The tool is free, requires no account, and does not add a watermark.
Tell us what to improve or which tool to add next.