Online syntax highlighting for the masses!

Beautify your code

Source code:



Chars: 0

Style: white navy black neo eclipse grayscale FMX HomeSite Bred3 html tags

Type:

Autodetect main: Java main: C main: Visual Basic main: PHP main: C++ main: Perl main: Python main: C# main: Ruby main: JS.NET main: VB.NET main: Pascal main: JavaScript inet: html inet: css inet: css for html inet: css for svg inet: jsp inet: xhtml transitional inet: xhtml strict inet: xhtml frameset inet: asp - VBScript inet: asp - JavaScript inet: asp - PerlScript inet: SVG 1.0 inet: ColdFusion inet: ActionScript inet: VBScript xml: xml xml: dtd xml: xslt 1.0 xml: XML Schema xml: Relax NG xml: xlink database: Clarion database: Clipper database: FoxPro database: SQLJ (Java sql) database: Paradox database: SQL, PL/SQL database: MySQL scripts: PowerShell scripts: Batch/Config.sys/NTcmd scripts: sh/ksh/bash script scripts: Apache httpd.conf scripts: Config, INI and CTL scripts: Colorer HRC scripts: Colorer HRD scripts: Delphi form scripts: Java Compiler Compiler scripts: Java properties scripts: Lex scripts: YACC scripts: makefile scripts: Regedit scripts: Resources scripts: TeX scripts: OpenVMS DCL scripts: VRML scripts.install: RAR Install Script scripts.install: Nullsoft Install Script scripts.install: InnoSetup script scripts.install: IS script rare: ASM rare: 1C rare: Ada rare: ABAP/4 rare: AutoIt 2.x rare: AWK rare: Dssp rare: ADSP-21xx Asm rare: Baan rare: Cobol rare: Cache/Open-M rare: Eiffel rare: Forth rare: Fortran rare: Haskell rare: Icon rare: IDL rare: Lisp rare: MatLab rare: Modula2 and Oberon2 rare: PicAsm rare: Rexx rare: Standard ML rare: OCaml rare: Tcl/Tk rare: Sicstus Prolog rare: Turbo Prolog rare: Verilog HDL rare: VHDL rare: z80asm rare: asm80 rare: 8051 asm rare: AVR asm other: files.bbs other: Diff/Patch other: message other: plain text other: default type

Updates 2019-04-04 It was brought to my attention that ERR_BLOCKED_BY_XSS_AUDITOR is an issue again, but this appears to be only when POSTing directly instead of using the web UI. Please let me know if this is not the case for you.



Also fixed a few minor bugs with type detection inc Bash. 2018-10-25 Found an edge case where the encode-on-POST did not happen, resulting in garbage output. Removed all Base64 encoding to resolve this. Hopefully ERR_BLOCKED_BY_XSS_AUDITOR issue does not come back in Chrome! 2018-10-09 Whelp, it's been a while. This is a bit of a hobby project to keep alive, since I use it myself. I have fixed a bug that caused leading whitespace to be removed, made it replace MS Word 'smart quotes' with real quotes, and also added generation datestamps. Thanks to H Gleaves, K Gillen, and Odzhan for reporting these! I then added a "Copy to clipboard" button as suggested by T Miseur, and lastly, BASIC UNICODE SUPPORT! Enjoy :) 2017-09-12 Unfortunately we've been too busy to give ToHTML much love recently, but I just fixed an issue with certain code being submitted resulting in a ERR_BLOCKED_BY_XSS_AUDITOR error in Chrome by having the source base64 encoded in-transit, and also added some cell padding to make text selection easier. 2016-01-26 Hey there,

We have just made a few changes, including: moving tohtml.com to a newer faster server, fixing up some layout issues, fixing some bugs with type detection, forcing SSL (HTTPS), and other things which I've already forgotten.



As usual, if you notice anything amiss just let us know!



Happy Australia Day,

The Agilis IT Team

2016-01-11 Hi everyone,



First off, happy holidays and new years to those that celebrate it. We're hoping for a strong 2016 for us and everyone else.



This is just a quick post to apologise for the recent outages. We've had some server maintenance going on, and unfortunately monitoring missed one service on one server, which was running tohtml.com



Moving forward, we have setup additional monitoring including minutely page-load checks from multiple locations with SMS and email alerts.



Thank you for your patience, and kind regards,

The Agilis IT Team 2015-07-19 Hi again,



We have had to make a minor change to this service, as it's getting more popular and hence costing more time and money to maintain.



We understand that not everyone will be a fan of the change, so we've also added a little bit of news that I'll update from time to time, and a poll to see if there are changes we could make to improve this service for you.



As always, we are your humble servants. Keep up the great code and sharing of knowledge everyone!



Regards,

The Agilis IT Team

2015-04-07 Hi everyone,



Unfortunately it's been some years without an update. Unfortunately the backend library this service uses is not updated as often as we would like. Because of this, and a number of other minor issues, we are currently working on a replacement site that is nicer, faster, and supports more languages. That being said though, this is a zero-income project for us, so it's not the highest of priorities.



In the mean time, I have grabbed some of the more recent syntax definitions and uploaded them, fixing a number of issues in langauges and also adding PowerShell. Note that this is hack-and-chop work, so please let us know if there's any problems.



Thanks,

The Agilis IT Team





