Code to Word Syntax Highlighter

Paste source code, choose a programming language, and copy a readable result into Microsoft Word with syntax colors, indentation, and optional line numbers intact.

How to paste highlighted code into Word

  1. Paste your source code and choose its language.
  2. Copy the highlighted result with its formatting.
  3. Paste into Word and keep source formatting.

Highlight code for Word · Word formatting guide · Supported languages