There is some confusion regarding going to job interviews while pregnant. Many women feel they must disclose the fact that they are pregnant, even if they are not showing. You are not under any obligation to tell your potential employer that you are pregnant. However, you have the right to do so if you wish.
Potential employers cannot refuse to hire you based on your pregnancy. If you think an employer has passed you over because you are pregnant, you might have a pregnancy discrimination claim.
You also don’t have to tell an employer if you plan to have children. Employers should not ask this question during an interview. This is a form of gender discrimination. Employers don’t ask men if they plan to have families. This is something they reserve for women, and it is discriminatory. Asking about family planning during a job interview is quite different from discussions with co-workers during lunch or around the water cooler. You are not required to disclose any information regarding your plans to have a child.