Williamsburg is actually part of northern Brooklyn, one of New York's 5 boroughs. That's why I recommend you take a full day to get out of Manhattan and discover Brooklyn in its entirety, visiting DUMBO, Williamsburg and its Jewish Quarter.