Kod- och textvisare
Förhandsgranska källkod och textfiler (JSON, YAML, Python, TypeScript, Markdown) med syntaxmarkering. 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.
Om detta verktyg har varit till hjälp för dig, överväg att bjuda mig på en kaffe.
Bjud mig på en kaffe