Sample Format for a Character Letter. If you have been asked to write a character letter, this simple template may be a useful guide.The character reference letter for court serves the purpose of offering the Judge insights into the Defendant's moral or mental attributes. I am writing this letter on behalf of a former student of mine who is presently before you on criminal charges and is due to be sentenced shortly. Address the judge respectfully. Briefly introduce yourself and your relationship to the individual. In this article, we will discuss how to write a formal letter to a judge, along with the proper format and a sample letter. Write statements that show support for the defendant and give examples of their good character. When you appear in court to support the defendant your words are more likely to have a beneficial effect. , business letter or legal document format).