Can You Turn the Gore Off in Left 4 Dead 2?

Yes, and it does carry over into online play.

On PC through Steam, right-click Left 4 Dead 2 in your library, choose Properties, then Set Launch Options, and add -lv to the field. That switches the game into its low-violence mode, toning down the blood and dismemberment that the series is known for.

There is some confusion about whether this affects multiplayer. It does — the setting is applied to the game client, not the session, so it holds wherever you play. Team Fortress 2 uses the same flag, which is why you will see the same behaviour there.

Console versions have no equivalent toggle; the regional rating version you bought determines what you see.