Online Highlight Code
Highlight source code online and copy formatted snippets into Microsoft Word, OneNote, Google Docs, technical notes, papers, and developer documentation. Choose a language, keep optional line numbers, and create readable code blocks without installing a desktop editor or changing your writing workflow.
HighlightCode supports common programming languages for fast daily use, a complete language list for less common file types, and a Word style guide for adjusting numbered code blocks after pasting. Feedback and questions can be shared on the discussion page.