Back to Project List

Code2HTML

Code File to HTML Converter

Self-built Tool HTML CSS JavaScript Highlight.js

Project Overview

A pure-frontend tool for converting code files into beautifully syntax-highlighted HTML files. Supports 15+ programming languages including Jupyter Notebooks. Built to solve the pain point of sharing code and submitting assignments — especially when notebook output cells are incomplete in PDF exports.

Built to solve daily workflow pain points — not for profit, but for efficiency.

My Responsibilities

  • Designed drag-and-drop file upload with multi-file support.
  • Implemented Jupyter Notebook parsing with cell structure preservation.
  • Integrated Highlight.js for syntax highlighting across 15+ languages.

What I Did

Supports .py, .ipynb, .js, .ts, .html, .css, .json, .md, .java, .go, .rs, .sql, .sh, .yaml and more. Features drag-and-drop upload, syntax highlighting, and File System Access API for choosing save locations in modern browsers.

Tech Stack

HTML CSS JavaScript Highlight.js File System Access API GitHub Pages

Project Details