What parents and witnesses need to know about character reference letters to the court for child custody. Includes a downloadable sample and template.If you write a character or sentencing letter to a Court, address the letter to "The Honorable John Smith" or "Judge Smith. A character letter to a judge should establish your credibility, paint a full picture of the defendant and be respectful, among other things. The character reference letter for court serves the purpose of offering the Judge insights into the Defendant's moral or mental attributes. Introduce yourself in the opening paragraph. Sample Format for a Character Letter. If you have been asked to write a character letter, this simple template may be a useful guide. 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. A character letter plays a dual role.