Syntax-Highlighter

Code-Syntax in mehreren Sprachen hervorheben

Browser-VerarbeitungIhre Daten verlassen niemals Ihren Browser

Preview

1<span style="color: #ff79c6">function</span> <span style="color: #50fa7b">greet</span>(name) {
2 <span style="color: #ff79c6">const</span> message = <span style="color: #f1fa8c">`Hello, ${name}!`</span>;
3 <span style="color: #ff79c6">return</span> message;
4}
5 
6console.<span style="color: #50fa7b">log</span>(<span style="color: #50fa7b">greet</span>(<span style="color: #f1fa8c">'World'</span>));

About Syntax-Highlighter

Code-Syntax in mehreren Sprachen hervorheben

Use this free online programmiertools tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.