Writing a letter to a judge can be an important task. It's usually best to keep it formal and concise. Start with a respectful salutation like "Dear Judge [Last Name]." Clearly state your purpose early on, and provide any necessary context or information. Always remain polite and avoid emotional language. What situation has brought you to need to write to a judge? If you’d like, I can help with outlining some ideas for your letter.