If you've been asked to write to the judge, use our sample character reference letter and fill-in-the-blank template. What's a character reference letter?Everything you need to write a declaration letter to the judge in your custody case: an example, a downloadable template, an outline and tips. The character reference letter for court serves the purpose of offering the Judge insights into the Defendant's moral or mental attributes. If you write a character or sentencing letter to a Court, address the letter to "The Honorable John Smith" or "Judge Smith. In the first paragraph, state how you know the person and attest to their character. A character letter plays a dual role. A character letter to a judge should establish your credibility, paint a full picture of the defendant and be respectful, among other things.