Kode- og tekstfremviser
Se kildekode og tekstfiler (JSON, YAML, Python, TypeScript, Markdown) med syntaksfremhævning. Lokal rendering.
About Code & Text Viewer
Preview source code and plain-text files with syntax highlighting. Supports dozens of languages including JSON, YAML, XML, Python, JavaScript, TypeScript, Go, Rust, Markdown, and SQL.
How to Use
Upload or drag in a code/text file. The viewer detects the language from the file extension and renders highlighted, line-numbered source. Use the toolbar to copy or download.
Privacy
All parsing and highlighting happens entirely in your browser. Your file is never uploaded to any server.
▶Which languages are supported?
Most popular languages are highlighted via highlight.js — JSON, YAML, XML, TOML, Python, JS/TS, Go, Rust, Java, C/C++, C#, PHP, Ruby, SQL, CSS, HTML, Markdown, and many more.
▶Can I edit the code here?
No. This viewer is read-only preview. For editing, use the dedicated code formatters or editors.
Hvis dette værktøj har været nyttigt for dig, kan du overveje at købe en kaffe til mig.
Køb en kaffe til mig